What
The self-hosted gateway no longer passes upstream error bodies through as-is. It drops the anthropic-organization-id header, reads at most 64KB of the body, keeps only error types on a fixed allowlist, and substitutes a generic message. A small set of gateway headers is forwarded, and retry-after survives on 429s.
Details
- Status-to-type mapping gained 413 request_too_large and 501 not_supported.
- Model names appearing in operator-facing errors are stripped of non-printable characters and truncated to 128 characters.
- Only reached on the gateway request path for customer-routed inference.
Evidence
upstream error
Strings lifted out of the shipped bundle, so the claim above can be checked against them.