Oracle Error ORA-16304: procedure must first be called on primary database

Oracle Error Message

ORA-16304: procedure must first be called on primary database

Reason for the Error

A call was made to DBMS_LOGSTDBY.EDS_ADD_TABLE on a logical standby database without having first called it on the primary database.

Solution

Call DBMS_LOGSTDBY.EDS_ADD_TABLE on the primary database and then retry on the standby.