Sonny Labs Docs
Error codes

users.invalid_cursor

The opaque pagination cursor on `/v1/users` could not be decoded.

users.invalid_cursor is returned at HTTP 400.

When this fires

The users-list endpoint emits this when the supplied cursor does not decode to the encoded (created_at, id) tuple — typically a hand-rolled cursor, or one from a different deployment.

What to do

Drop the cursor parameter to fetch the first page, then thread the next_cursor from each response into the following request. Cursors are opaque and tied to the issuing deployment.

See also

  • SDK reference — the Python and TypeScript SDKs raise typed exceptions for codes in this namespace.
  • Error code index — every code the runtime can return.

On this page