Skip to main content
Business errors returned by the API use this shape:

Common status codes

Log the request_id, endpoint, status, and code, but never the Authorization header or unnecessary visitor text.
An invalid key is rejected before the business API. The gateway may return 403 without code, details, or request_id in the body. Parse the envelope above only when the response actually contains it.
degraded: true in a successful response is not an HTTP error. The decision remains usable; inspect degraded_reasons for observability.