Oracle Error ORA-16446: Target database was not a standby database

Oracle Error Message

ORA-16446: Target database was not a standby database

Reason for the Error

ALTER SYSTEM FLUSH REDO TO STANDBY failed because the target database is not a standby database.

Solution

Reissue the ALTER SYSTEM FLUSH REDO TO STANDBY statement and specify a standby database as the target database.