Message Oracle PLS-00584 - size of an opaque type must be between 1 and 4000 bytes

ERRORsize of an opaque type must be between 1 and 4000 bytes
CAUSEAn attempt was made to specify an explicit size for an opaque type, but the specified size was out of the valid range.
ACTIONChange the explicit size to be between 1 and 4000 bytes, or change the declaration to be varying-length without an explicit size.