Oracle Message ORA-13355 - SDO_ORDINATE_ARRAY not grouped by number of dimensions specified

ERRORSDO_ORDINATE_ARRAY not grouped by number of dimensions specified
CAUSEThe number of elements in SDO_ORDINATE_ARRAY is not a multiple of the number of dimensions supplied by the user.
ACTIONConfirm that the number of dimensions is consistent with data representation in SDO_ORDINATE_ARRAY.