GSE3411N Invalid geometry.
Explanation
The function or method cannot process the geometry passed to it because one or more properties of the geometry violate the geometry's integrity.
User response
Use the ST_IsValid function to validate the geometry. Construct the geometry again from a correct representation if it is not valid.
msgcode: -3411
sqlstate: 38SSB