GSE3431N Empty geometry.
Explanation
An empty geometry was passed to the ST_AsBinary function, even though it is not allowed as input.
User response
Edit the SQL statement that you submitted so that only non-empty geometries will be passed to the ST_AsBinary function. For example, you can use the ST_IsEmpty function in the WHERE clause to exclude empty geometries.
msgcode: -3431
sqlstate: 38SSV