Oracle Error RMAN-20240: archived log not found in the repository

Oracle Error Message

RMAN-20240: archived log not found in the repository

Reason for the Error

The specified archived log was not found in the recovery catalog or target database control file or it was marked deleted.

Solution

check the archived log name or key