Oracle Error RMAN-20201: datafile not found in the recovery catalog

Oracle Error Message

RMAN-20201: datafile not found in the recovery catalog

Reason for the Error

The specified datafile is not found in the recovery catalog

Solution

make sure that the datafile name is correct and that the recovery catalog is up-to-date