Message Oracle ORA-54531 - invalid orientation for element at element offset

ERRORinvalid orientation for element at element offset
CAUSEThe orientation of the current geometry was not valid.
ACTIONReverse the orientation of the geometry.