Oracle Solution for Error ora-16413

Solution for Oracle Error ORA-16413

ORA-16413: Unsupported database type for ONDEMAND archivelog destinations

What triggered the Error:

The use of the ONDEMAND attribute for a standby database destination is supported for only physical and logical standby database types. Cross-Instance-Archival and repository database types are not valid for the ONDEMAND attribute.

What should we do to fix it:

Verify the database corresponding to the archivelog destination is either a physical standby database or a logical standby database.