Oracle Solution for Error ora-54506

Solution for Oracle Error ORA-54506

ORA-54506: compound curve not supported for 3-D geometries

What triggered the Error:

The 3-D geometry contained one or more compound curves, which are not supported for 3-D geometries.

What should we do to fix it:

Remove all compound curves from the geometry.