Skip to main content
err:user:unprocessable_entity:query_execution_timeout
Your analytics query was valid, but it ran longer than its 10 seconds and was canceled. You get HTTP 422.
Example response

Likely causes

  • The time range is too wide.
  • The query reads a raw table when a rollup would do.
  • The query filters late, or pulls raw rows instead of aggregating.
A request that hits the API’s one-minute limit returns request_timeout instead.

How to fix

Make the query cheaper:
  • Narrow the time range first. A shorter range reads fewer rows.
  • Query a rollup table (per-minute, per-hour, per-day) instead of the raw table when you don’t need individual events.
  • Filter early on identifiers such as key ID, identity ID, or namespace before grouping.
  • Aggregate in the query instead of pulling raw rows and aggregating on your side.
  • Split long ranges into several queries by day or week and combine the results.
Last modified on October 6, 2026