Oracle Solution for Error ora-13355

Solution for Oracle Error ORA-13355

ORA-13355: SDO_ORDINATE_ARRAY not grouped by number of dimensions specified

What triggered the Error:

The number of elements in SDO_ORDINATE_ARRAY is not a multiple of the number of dimensions supplied by the user.

What should we do to fix it:

Confirm that the number of dimensions is consistent with data representation in SDO_ORDINATE_ARRAY.