Reference · Error codes
Error: upstream_error
A system GebSecure called on the caller’s behalf failed (connector API, MCP server, database).
HTTP 502 · problem type: https://docs.gebsecure.com/errors/upstream_error · title: upstream_error
Common causes#
- The upstream returned an error or was unreachable; for
/v1/executea failed execution is returned as anExecuteResultwith statusfailed(HTTP 502) rather than a problem response.
What to do#
- Check
error.upstreamStatusand the connection health (POST /v1/connections/{id}/health).
In the SDKs#
| SDK | Error type |
|---|---|
| TypeScript | UpstreamError |
| Python | UpstreamError |
| Go | ErrUpstream |
| Java | UpstreamException |
| .NET | UpstreamException |
Every error response is RFC 9457 application/problem+json; see the error model.