Oracle Error RMAN-06820: WARNING: failed to archive current log at primary database

Oracle Error Message

RMAN-06820: WARNING: failed to archive current log at primary database

Reason for the Error

An attempt to switch the archived log at the primary database failed.

Solution

Resolve the error messages associated with this message to avoid the warning.