Oracle Message RMAN-05520 - database name mismatch, auxiliary instance has string, command specified string

ERRORdatabase name mismatch, auxiliary instance has string, command specified string
CAUSEThe database name specified in the initialization parameter was not the same as the database name provided in the DUPLICATE command.
ACTIONCorrect the database name in the command or adjust the database name of the auxiliary instance.