Oracle Error ORA-13221: unknown geometry type in the geometry object

Oracle Error Message

ORA-13221: unknown geometry type in the geometry object

Reason for the Error

The SDO_GTYPE attribute in the geometry object contains an invalid value

Solution

Redefine 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.