Oracle Error ORA-16171: RECOVER…FINISH not allowed due to gap for thr string, seq string-string

Oracle Error Message

ORA-16171: RECOVER…FINISH not allowed due to gap for thr string, seq string-string

Reason for the Error

See alert log for more details

Solution

Copy missing archived logs from primary or another standby. Register the logs and reissue the RECOVER…FINISH command. If the logs are not available, issue the ALTER DATABASE RECOVER MANAGED STANDBY SKIP command to ignore the standby redo log files.