Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

New API error kinds: TLS signature failure and message over context limit

Claude Code adds error kinds for TLS certificate signature failures, a slow TLS handshake, and a turn too large for any context window

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

What

When a request to the API fails, Claude Code labels the failure with a kind so programs built on it can react. Several new kinds and messages were added:

  • tls_cert_signature_failure, next to the existing tls_untrusted_ca, for when the server's security certificate fails its signature check. TLS is the encryption used for the connection.
  • A new error when the TLS handshake (the start of a secure connection) does not finish in time: The TLS handshake with the server did not finish in the time allowed. Check the network or proxy.
  • message_over_context_limit, for when the turn's own text is larger than the biggest context window the API accepts, so no request is sent at all. It is handled the same way as unattended_start_unconfirmed.
  • The description of empty_completion was widened.

Why

Programs built with the Agent SDK can now tell these failures apart and show a specific message. A certificate problem or an oversized prompt no longer looks like a generic API error.

See this entry in the whole of v2.1.326 →

Feedback