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.274 ·

New structured apiError codes attached to rate-limit/format error responses

API error responses now carry structured error codes like pdf_too_large alongside plain-text messages

Under the hood Improvements
JSON All of v2.1.274
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
API ErrorsArea: what it touches
ImprovementsKind: in v2.1.274,
ImprovementsSection of the release
What

When the API returns a rate-limit or invalid-request error, Claude Code now attaches a structured apiError code identifying the specific cause, in addition to the existing free-text error message. New codes include:

  • model_requires_usage_credits
  • long_context_credits_required
  • pdf_too_large
  • pdf_password_protected
Why

Structured error codes let Claude Code (and anything reading these errors) distinguish specific failure causes, such as an oversized or password-protected PDF, rather than relying only on parsing a text message.

See this entry in the whole of v2.1.274 →

Feedback