[BUG] Sharing picture without text in Claude Code via Windows App causes session to stall permanently
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?
When I post an image (like a screenshot) in Claude Code chat (desktop app, Windows), and doesn't provide any text with it, then the entire session goes stall. From there, it will not accept any messages or input - every response will be API Error: 400 like below:
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: text content blocks must be non-empty"},"request_id":"req_011CaVoWKJsUBG3Dr1x3Mwb3
What Should Happen?
You should be able to send pictures / screenshots without accompanying with any text.
Error Messages/Logs
Steps to Reproduce
Just paste and picture without text and you will see it. I am able to reproduce this every single session.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Non-interactive/CI environment
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗