Oracle Solution for Error ora-54556

Solution for Oracle Error ORA-54556

ORA-54556: operation is not supported for 3-D geometry

What triggered the Error:

A 3-D geometry was passed into an operation that supports only 2-D geometries.

What should we do to fix it:

Check the Spatial documentation for operations that are supported and not supported on 3-D geometries.