Oracle Error ORA-13365: layer SRID does not match geometry SRID

Oracle Error Message

ORA-13365: layer SRID does not match geometry SRID

Reason for the Error

The spatial layer has a geometry with a different SRID than the SRID specified for the layer.

Solution

Make sure that all geometries in a layer have the same SRID and that the SRIDs match the SRID for the layer in the USER_SDO_GEOM_METADATA view.