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

# upstream_unavailable

> 502 · Data service unavailable

> [!NOTE]
>
> HTTP status **502** · Retry: **Yes** · Failed requests never cost credits.

```json 502 response theme={null}
{
  "error": {
    "code": "upstream_unavailable",
    "message": "Data service unavailable.",
    "hint": "…",
    "docs": "https://docs.appgoat.ai/errors/upstream_unavailable"
  }
}
```

## Why

The gateway could not reach the AppGoat data service, usually during a deploy or a short outage.

## Fix

Retry in a few seconds with backoff.

## Still stuck?

Email [support@appgoat.ai](mailto:support@appgoat.ai) with the endpoint and the time of the request.


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