GSE3007N Unknown internal type id type-id.
Explanation
The value of the internal type identifier type-id for the geometry is not valid.
This error can occur if the internal representation of the geometry is corrupted, or if the geometry was not constructed by one of the supported constructor functions or methods.
User response
Construct the geometry again by using one of the supported constructor functions or methods.
msgcode: -3007
sqlstate: 38SU7