Oracle Error RMAN-20004: target database name does not match name in recovery catalog

Oracle Error Message

RMAN-20004: target database name does not match name in recovery catalog

Reason for the Error

name of the target database doesn’t match the one stored in the recovery catalog

Solution

This is an internal error.