Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

API error text: HTML error pages collapse to status code + reason

API errors that arrive as an HTML web page now show the status code and its standard reason instead of raw page markup

You'll notice Improvements
JSON All of v2.1.281
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.281,
ImprovementsSection of the release
What

Sometimes an error from the API comes back as an HTML web page rather than a plain message. When nothing useful can be pulled out of that page, Claude Code now shows a short error instead:

  • With a known status code: the code plus its standard reason phrase, for example a number followed by its usual name
  • With no status code: "API error (status unknown)"
  • When readable text was extracted but it lacks the status number: that text with the status number put in front

In all other cases the original message is shown with any trailing blank space trimmed.

Why

An error that used to fill the screen with web page code now reads as a single short line, and the status number stays visible so it can be looked up or reported.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeImproved screen-reader output in /mcp: a disabled server is read as "off" instead of "pending"

See this entry in the whole of v2.1.281 →

Feedback