[BUG] 400 error if you send just an image to claude code via remote control, then stuck in this cycle forever
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?
[BUG] 400 error if you send just an image to claude code via remote control, then stuck in this cycle forever
Steps: attach an image, send with no text
Error: 400 invalid_request_error: messages: text content blocks must be non-empty
Request ID: req_011CaeDEVrkP54DkPzTNs6YL
What Should Happen?
either accept just an image or only fail once rather than continuing to send 400s on subsequent calls
Error Messages/Logs
Steps to Reproduce
Worth including in the report:
Steps: attach an image, send with no text
Error: 400 invalid_request_error: messages: text content blocks must be non-empty
Request ID: req_011CaeDEVrkP54DkPzTNs6YL
Claude Model
Not sure / Multiple models
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.123
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗