Skip to main content

query_execution_timeout

Your analytics query exceeded the maximum execution time allowed by Unkey. Simplify the query, reduce the time range, or add filters.
1 min read
Danger
err:user:unprocessable_entity:query_execution_timeout
Example

What Happened?#

Your analytics query took too long to execute! We limit queries to 30 seconds to keep the analytics service responsive for everyone.

This usually happens when you're querying a large time range or complex data without enough filters.

How to Fix It#

1. Query Smaller Time Ranges#

The most common fix is to reduce the time range:

2. Add More Filters#

Filter your data to reduce the amount of work the query needs to do:

3. Use Aggregated Tables#

For historical data, use pre-aggregated tables instead of raw events:

4. Limit Result Size#

Add a LIMIT clause to stop processing once you have enough data:

Need Longer Execution Time?#

Note

Have a legitimate need for longer-running queries? Contact our support team!

Reach out to support and tell us:

  • What you're trying to analyze
  • Why the query needs more than 30 seconds
  • An example of the query you're running

We'll review your use case and see if we can accommodate your needs.