Oracle Error ORA-13228: spatial index create failed due to invalid type

Oracle Error Message

ORA-13228: spatial index create failed due to invalid type

Reason for the Error

An Attempt was made to create a spatial index on a column of type other than SDO_GEOMETRY.

Solution

Make sure that the index is created on a column of type SDO_GEOMETRY.