Skip to main content
err:user:unprocessable_entity:query_rows_limit_exceeded
Your analytics query read or tried to return more rows than your workspace allows. You get HTTP 422, and detail says which.
Example response

Likely causes

  • The query scans too much: a wide time range, few filters, or raw rows instead of an aggregate.
The cap is 10,000,000 rows unless we’ve changed it for you. Every SELECT, including subqueries, gets a LIMIT at the cap, and a larger LIMIT you write is lowered to it. You’ll usually hit the 4 MiB result size first, which returns query_memory_limit_exceeded.

How to fix

  1. Narrow the time range.
  2. Filter on key ID, identity ID, namespace, or another indexed column.
  3. Aggregate instead of selecting raw rows.
  4. If you need every row in a large range, split it into smaller windows and run one query per window.
See Analytics restrictions and quotas.
Last modified on October 6, 2026