> ## Documentation Index
> Fetch the complete documentation index at: https://cortex-foundation-add13747-droid-1a2462c9-cor-444-sanitize.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# upstream_timeout

> An upstream service timed out. HTTP 504.

# `upstream_timeout`

|           |                                                            |
| --------- | ---------------------------------------------------------- |
| HTTP      | `504`                                                      |
| `code`    | `upstream_timeout`                                         |
| `type`    | `https://docs.cortex.foundation/problems/upstream_timeout` |
| Retryable | yes                                                        |

A dependency did not answer within its budget. Same product-language rule as `upstream_failure`.

```json theme={null}
{
  "type": "https://docs.cortex.foundation/problems/upstream_timeout",
  "title": "An upstream service timed out",
  "status": 504,
  "code": "upstream_timeout",
  "request_id": "req_…"
}
```

See [Errors](/api/errors) for how to branch, and what not to render from `detail`.
