Oracle Message ORA-13364 - layer dimensionality does not match geometry dimensions

ERRORlayer dimensionality does not match geometry dimensions
CAUSEThe spatial layer has a geometry with a different dimensions than the dimensions specified for the layer.
ACTIONMake sure that all geometries in a layer have the same dimensions and that they match the dimensions in the SDO_DIM_ARRAY object for the layer in the USER_SDO_GEOM_METADATA view.