Skip to content

[BUG] "PDF too large" error persists and blocks all PDF reading #13518

Description

@jfgordo

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

This is a continuation of issue #9789, which was closed as a duplicate but the bug is still occurring as of December 2025.

When Claude Code attempts to open a PDF file that exceeds size or page count thresholds, it displays the error message "⏺ PDF too large. Please double press esc to edit your message and try again."

The issue is that after this error occurs once, Claude Code continues to refuse to read ANY PDF file regardless of how small or large it actually is. Even when asking Claude to help find alternative solutions (e.g., searching for Python tools to parse the PDF), it returns the same "PDF too large" error.

Related closed issues: #9789, #6231, #6197, #8077

What Should Happen?

After displaying the "PDF too large" error for an oversized PDF:

  1. Claude Code should be able to read smaller PDFs that are within limits
    1. Claude Code should be able to help find alternative solutions (e.g., suggesting Python libraries to parse PDFs) without returning the same error
    1. The error state should not persist and affect unrelated requests

Error Messages/Logs

⏺ PDF too large. Please double press esc to edit your message and try again.

This error repeats for any subsequent attempts to read PDFs (regardless of actual file size) and also appears when asking Claude to help find workarounds (e.g., searching for Python tools to parse the PDF instead).

Steps to Reproduce

  1. Ask Claude Code to open/read a large PDF file (e.g., several MB in size or many pages)
    1. Receive the "PDF too large" error message
    1. Try to open a different, smaller PDF file
    1. Observe that the same "PDF too large" error appears even for small files
    1. Ask Claude to help find Python tools to parse the PDF instead
    1. Observe that Claude still returns the "PDF too large" error

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.0.62 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Using Opus 4.5 with Claude Max subscription.

This bug was originally reported in #9789 and marked as a duplicate of #6231, but the issue persists. Multiple users have confirmed in the comments that the bug is still happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workinghas reproHas detailed reproduction stepsmemoryplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions