Oracle Error RMAN-06041: cannot switch file number to copy of file number

Oracle Error Message

RMAN-06041: cannot switch file number to copy of file number

Reason for the Error

An attempt was made to switch a datafile to a copy of a different datafile.

Solution

Correct and resubmit the SWITCH command.