Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 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

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection 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