upstream_error
The connector’s system answered the tool call with an error.
HTTP 502 · api_error · not retryable
What happened
Section titled “What happened”The connector’s system answered the tool call with an error.
What to do
Section titled “What to do”Open the action in Console › Actions to read the details, fix the cause, then send a new request with a new Idempotency-Key. A retry with the same key returns this 502 again.
Example
Section titled “Example”{ "error": { "type": "api_error", "code": "upstream_error", "message": "The tool returned an error. The details are on the action in Console › Actions.", "param": null, "request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d", "doc_url": "https://docs.deedglass.com/errors/upstream_error" }}The message is for a person and can get more exact over time: branch on type and code, never on the message.
In the SDKs
Section titled “In the SDKs”| SDK | Raised as |
|---|---|
TypeScript (@deedglass/sdk) |
APIError with code === "upstream_error" |
Python (deedglass) |
deedglass.APIError with .code == "upstream_error" |