Oracle Solution for Error ora-13221

Solution for Oracle Error ORA-13221

ORA-13221: unknown geometry type in the geometry object

What triggered the Error:

The SDO_GTYPE attribute in the geometry object contains an invalid value

What should we do to fix it:

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.