Error Code Portal
PostgreSQLPostgreSQLError code

24000

invalid cursor state

Alternative forms: invalid_cursor_state

Code 24000 · An issue reported by PostgreSQL.

invalid_cursor_state (Class 24 — Invalid Cursor State)

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.