Oracle Error RMAN-07522: CREATE TYPE privilege must be granted to user string

Oracle Error Message

RMAN-07522: CREATE TYPE privilege must be granted to user string

Reason for the Error

The CREATE CATALOG or UPGRADE CATALOG command was used, but the USERID that was supplied in the CATALOG connect string does not have the CREATE TYPE privilege granted.

Solution

Grant CREATE TYPE privilege to the recovery catalog owner.