[BUG] image cannot be empty message for every prompt
Resolved 💬 3 comments Opened Mar 16, 2026 by brodyck Closed Mar 16, 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?
I received the sent error after submitting what I think was a corrupted image on Kubuntu 25.04.
I don't have the original image since I wasn't thinking that far ahead. This error appears on all prompts in the session no matter what I send since that prompt.
I also cannot send a bug report with the Submit Feedback / Bug Report tool.
What Should Happen?
I should be able to carry on with the conversation even though 1 prompt in the history had a bad image.
Error Messages/Logs
❯ currently the inhale goes over the session timer. can you fix that?
⎿ [Image #1]
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ62vPp7MpuRuyU5UAYyy"}
❯ currently the inhale goes over the session timer. can you fix that?
⎿ [Image #2]
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ62viTGt6zZK9kFo4b3o"}
❯ currently the inhale goes over the session timer. can you fix that?
⎿ [Image #3]
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ62wwQfkYGDH4QU5Ks5v"}
❯ currently the inhale goes over the session timer. can you fix that?
⎿ [Image #4]
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ62yWtav3WXeeZQR8DXA"}
❯ currently the inhale goes over the session timer. can you fix that?
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ62yxh7eybtqissrQgBX"}
❯ currently the inhale goes over the session timer. can you fix that?
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ631XFy7krMCCy46YWq5"}
❯ currently the inhale goes over the session timer. can you fix that?
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ637VcfdnA1A1xTB9Ezy"}
❯ currently the inhale goes over the session timer. can you fix that?
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ637aJCZrJje2qjzmxpf"}
❯ how can i make it go up how does that work
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.27.content.1.image.source.base64: image cannot be empty"},"request_id":"req_011CZ638HtkA5BGP8naXWWzD"}
Steps to Reproduce
I sent an image that was empty in a prompt.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.76
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
I was in Konsole in KDE in Wayland on Kubuntu 25.10. The screenshot tool has always been a little buggy in wayland.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗