Oracle Solution for Error ora-13228

Solution for Oracle Error ORA-13228

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

What triggered the Error:

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

What should we do to fix it:

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