Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

Clearer error for file paths that end in a space, with a new error code

A path ending in white space now gets a clearer refusal, and its error code changed from 2 to 20

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

When a file path ends in white space (a space or a similar blank character), the error has been reworded. It now says the tool refuses such a path and cannot open a file whose own name ends in white space. The old text said the path "does not name one file".

The error code for this case changed from 2 to 20.

Why

The message is easier to understand for both you and Claude. If you have scripts or tools that react to Claude Code's error codes, they will now see 20 for this case.

See this entry in the whole of v2.1.290 →

Feedback