> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinakelai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query timed out

> HTTP 422, query-timeout. The search did not finish within its time limit.

| | |
| - | - |
| Type | `https://docs.pinakelai.com/errors/query-timeout` |
| Status | 422 |
| Retry | No. Narrow the query; the same query fails again. |

## When it happens

The search ran out of time, usually because a filter combination matches a large, scattered set of records. Broad searches do not time out: they return a shorter page and continue on the next request.

## What to do

Narrow the search with `jurisdiction`, a date range or an anchor filter. Retrying the same query unchanged gives the same result and costs a call each time.

## Example

```json Body theme={null}
{
  "type": "https://docs.pinakelai.com/errors/query-timeout",
  "title": "Query timed out",
  "status": 422,
  "detail": "The search took too long. Narrow it and try again.",
  "request_id": "req_01M7Q40QRSTVWXYZ0123456789"
}
```

See the [errors catalogue](https://docs.pinakelai.com/api-reference/errors.md) for every error type, and [Handling errors](https://docs.pinakelai.com/guides/errors.md) for retry strategy.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.