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.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Clearer error when a proxy or gateway returns something that is not an API response

You'll notice
Useful4 Signal2
API Errors

Bad responses from proxies and gateways now name the intermediary instead of a generic error.

What

An empty or malformed API response now raises a dedicated error that names what the body actually was and points at intermediaries between you and the API. It recognises common gateways (litellm, helicone, portkey, cloudflare-ai-gateway, kong, braintrust), Databricks hosts, reverse proxies identified by their Server: header (cloudflare, envoy, nginx, apigee, akamai, zscaler and others), and Apigee fault codes, and preserves hop headers in the report. Live on this build with no flag.

Details
  • One diagnosed case is a non-streaming request answered with an event stream, which is called out by name.
Evidence

body is an event stream (the non-streaming request was answered with a stream)

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.248 →