Oracle Solution for Error ora-13345

Solution for Oracle Error ORA-13345

ORA-13345: a compound polygon geometry has fewer than five coordinates

What triggered the Error:

A geometry, specified as being a compound polygon, has fewer than five coordinates in its definition.

What should we do to fix it:

A compound polygon must contain at least five coordinates. A compound polygon consists of at least one arc and one line, each of which must be described using three and at least two distinct coordinates respectively. Correct the geometric definition, or set the appropriate SDO_GTYPE or SDO_ETYPE attribute for this geometry.