Oracle Message ORA-13028 - Invalid Gtype in the SDO_GEOMETRY object

ERRORInvalid Gtype in the SDO_GEOMETRY object
CAUSEThere is an invalid SDO_GTYPE in the SDO_GEOMETRY object.
ACTIONVerify that the geometries have valid gtypes.