Skip to content

upstream_auth_failed

The service a connector calls answered 401 or 403: it refused the stored credential.

HTTP 502 · api_error · not retryable

The service a connector calls answered 401 or 403: it refused the stored credential. The call reached the service and was refused, so the action is failed. The response body is kept in the action’s result with every credential value replaced by [redacted].

Replace the credential: deedglass connector credentials set orders --from-env ORDERS_TOKEN, then check it with deedglass connector test orders.

HTTP 502 · upstream_auth_failed
{
"error": {
"type": "api_error",
"code": "upstream_auth_failed",
"message": "The service refused the connector's credentials. An admin can replace them in Console › Connectors.",
"param": null,
"request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d",
"doc_url": "https://docs.deedglass.com/errors/upstream_auth_failed"
}
}

The message is for a person and can get more exact over time: branch on type and code, never on the message.

SDK Raised as
TypeScript (@deedglass/sdk) APIError with code === "upstream_auth_failed"
Python (deedglass) deedglass.APIError with .code == "upstream_auth_failed"