Oracle Solution for Error ora-16276

Solution for Oracle Error ORA-16276

ORA-16276: specified database link does not correspond to primary database

What triggered the Error:

The database link specified to DBMS_LOGSTDBY.INSTANTIATE_TABLE did not link to the primary database for this logical standby database.

What should we do to fix it:

Specify a database link that corresponds to the primary database for this logical standby database. The link should have privileges to read and lock the table being instantiated, as well as the SELECT_CATALOG_ROLE.