claude-code - 💡(How to fix) Fix Pasting image without text - displays error but causes lockup [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#60662Fetched 2026-05-20 03:52:43
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

If you paste an image into Claude's prompt without any text an error/warning message is displayed (that's new). So, it is logical to paste the mage with text as the next step but Claude goes into and endless error loop.

Error Messages/Logs

Paste an image with no text; you display an error; correct the error by pasting the image and entering some text; you display the same error again; simply enter text this time; you display the same error again. On the positive side -- /compact clears up the endless error loop. ---That exact sequence has now happened twice in the same session.

RAW_BUFFERClick to expand / collapse

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?

If you paste an image into Claude's prompt without any text an error/warning message is displayed (that's new). So, it is logical to paste the mage with text as the next step but Claude goes into and endless error loop.

What Should Happen?

Claude should not go into an endless loop when handed an image with no text.

Error Messages/Logs

Steps to Reproduce

Paste an image with no text; you display an error; correct the error by pasting the image and entering some text; you display the same error again; simply enter text this time; you display the same error again. On the positive side -- /compact clears up the endless error loop. ---That exact sequence has now happened twice in the same session.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

current

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Pasting image without text - displays error but causes lockup [1 comments, 2 participants]