Invalid polygon: curve is not a ring

Error constant SQLE_SLERR_INVALID_POLY_NON_RING
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -1487
SQLSTATE 2FW82
Sybase error code 13085
 Probable cause