Oracle Message ORA-13221 - unknown geometry type in the geometry object

ERRORunknown geometry type in the geometry object
CAUSEThe SDO_GTYPE attribute in the geometry object contains an invalid value
ACTIONRedefine the geometric type in the geometry table using one of the supported SDO_GTYPE values. See the Oracle Spatial documentation for an explanation of SDO_GTYPE and its possible values.