Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.228 ·

Gateway strips detail out of upstream errors before returning them

The self-hosted gateway now strips detail from upstream errors before handing them back.

You'll notice Improvements
JSON All of v2.1.228
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
GatewayArea: what it touches
ImprovementsKind: in v2.1.228,
ImprovementsSection of the release
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.

See this entry in the whole of v2.1.228 →

Feedback