Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

New PDF error path: unknown page count on large files

Reading a large PDF whose page count can't be determined now fails with a clear error

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindBug Fixesin v2.1.271,
You'll notice

Reading a large PDF whose page count can't be determined now fails with a clear error

What

When Claude tries to read a PDF file and the tool can't determine how many pages it has (because the underlying pdfinfo check fails) and the file is large enough to cross a size threshold, it now throws a dedicated page_count_unknown error instead of just proceeding. The error tells the model to use the pages parameter to read the file in parts.

Why

This avoids Claude silently attempting to process a large PDF it can't properly size up, and instead points it toward a working approach of reading the file in specific page ranges.

See this entry in the whole of v2.1.271 →

Feedback