Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Gateway now rejects values with characters that cannot go in a header

The gateway now returns an error when certain fields contain characters that cannot be sent in a request header.

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

Unclear It is not clear which fields this check covers.

What

The gateway now checks certain fields for characters that cannot be sent in a request header, the part of a web request that carries settings. If a value fails, it returns a 400 error of type invalid_request_error with the message "must be text that a header can hold".

Why

Requests with unusual characters in those fields now fail straight away with a clear message instead of failing further along.

Read from
Names in the bundleinvalid_request_error
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which fields this check covers.

See this entry in the whole of v2.1.336 →

Feedback