Bad gateway
HTTP 502 — An upstream service returned an invalid response.
Returned as application/problem+json with code bad_gateway and HTTP status 502.
An upstream service the gateway depends on returned an invalid or unexpected response.
Common causes
- A downstream service failed or returned something outside its contract.
How to resolve
- Usually transient — retry with backoff.
- If it persists, contact support with the
request_id.
Check system status
A 502 is a server-side failure, so it may reflect a known incident rather than a problem with your
request. Check the System status page — if there’s an open
incident affecting the USGM API or USGM Core, the issue is on our side, so wait for it to resolve. If
everything is operational and the error persists, contact support with your request_id.
Example
This error is typically transient — safe to retry with exponential backoff.