Message Oracle RMAN-06470 - DEVICE TYPE is supported only when automatic channels are used

ERRORDEVICE TYPE is supported only when automatic channels are used
CAUSEThe DEVICE TYPE option was specified with a BACKUP, RESTORE, RECOVER, DUPLICATE, CHANGE, VALIDATE, CROSSCHECK, or DELETE EXPIRED command. This option is allowed only when automatically allocated channels are used.
ACTIONRemove the DEVICE TYPE option and re-run the command. Or Remove all ALLOCATE commands and re-run the script so that channels are automatically allocated.