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.