Proxy guidance now says to pass through 400 and 413 error text so auto-compact can react.
What's wrong with this entry?
The proxy-writing guidance bundled with the gateway docs still tells you to log upstream errors and return a generic message preserving error.type, but now makes an exception: if a 400 or 413 arrives in Anthropic's own error envelope, relay its error.message, because client-side recovery such as auto-compact keys on that text.
- The guidance text appears twice in the gateway docs and both copies changed.
own error envelope (e.g. \prompt is too long: \u2026\): relay that
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.
-
v2.1.227
claude gatewaynow identifies itself as the gateway providerBoth mention gateway
-
v2.1.228
Gateway runs without an OIDC block, and names two more upstream failures
Both mention gateway
-
v2.1.228
Gateway warns when no OIDC is configured and several sections are dead
Both mention gateway