# query_timeout

> query_timeout (504): the query ran past its time budget and was stopped.

Canonical: https://corpoapi.com/errors/query_timeout

HTTP 504 · Query timed out

The query ran past its 15-second budget and was stopped.

## Why it happens

Broad searches on the largest registers can need more than the budget, for example a common word in France.

## How to fix it

Retry after the Retry-After delay, or narrow the search with a more specific name or the registration number. The request was not billed.

## Example response

```json
{
  "type": "https://corpoapi.com/errors/query_timeout",
  "title": "Query timed out",
  "status": 504,
  "code": "query_timeout",
  "detail": "Query exceeded the 15s budget. The request was not processed; safe to retry after the Retry-After delay."
}
```
