Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.228 Home All releases olderv2.1.227 v2.1.229newer
Claude Code v2.1.228

Gateway strips detail out of upstream errors before returning them

You'll notice
Useful2 Signal2
Gateway

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

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.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.228 →