Oracle Error Message
ORA-16585: operation cannot be performed on a primary database
Reason for the Error
The database specified for the operation was a primary database, or the operation was attempted on a primary database.
Solution
Check the database type and retry the operation. If the command must be executed on a standby database, connect to a standby database and retry the operation.