Oracle Solution for Error ora-16504

Solution for Oracle Error ORA-16504

ORA-16504: the Data Guard configuration already exists

What triggered the Error:

A request to create a Data Guard configuration was made while connected to a database that is part of an existing configuration.

What should we do to fix it:

To create a new configuration, the existing configuration must be deleted.