Pasting image without text - displays error but causes lockup

Resolved 💬 3 comments Opened May 19, 2026 by kadoney Closed May 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] 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_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗