Message Oracle LSX-00252 - invalid union ~S

ERRORinvalid union ~S
CAUSEData of simple type is not one of the union type.
ACTIONUse one of the union type as its type.