# timeout

> The request took too long. The request took too long.

**The request took too long.** The request took too long. If it changed something, retrying with the same `Idempotency-Key` returns the original result rather than repeating the change.

- **HTTP status:** `504 Gateway Timeout`
- **CLI exit code:** `10` (temporary, safe to retry)
- **Retry:** safe to retry with the same `Idempotency-Key`

## How to fix it

Retry with the same Idempotency-Key; long work returns an operation to poll instead.

## What the response looks like

```json
{
  "type": "https://guv.dev/errors/timeout",
  "title": "The request took too long",
  "status": 504,
  "code": "timeout",
  "detail": "The request took too long.",
  "fix": "Retry with the same Idempotency-Key; long work returns an operation to poll instead.",
  "docs_url": "https://guv.dev/errors/timeout",
  "request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}
```

The `code` field is stable: match on it, not on `title` or `detail`, which may be reworded.
