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

# Request timeout

**Status:** `504 Gateway Timeout`

**Type:** `https://api.globalwebindex.com/docs/spark-api/problems/timeout`

The request took too long to complete.

## How to fix it

Retry the request later. If it keeps timing out, send a smaller request, for example fewer prompts in `POST /insights/generate`.

## Example

`detail` is a human-readable explanation and its wording can change. Use `type` to identify the error.

```json theme={null}
{
  "type": "https://api.globalwebindex.com/docs/spark-api/problems/timeout",
  "title": "Request timeout",
  "status": 504,
  "detail": "service is taking longer than usual to respond: please try again in a few moments",
  "instance": "/v2/spark-api/insights/generate"
}
```
