[BUG] API error when screenshots are attached to existing or even new session on claude code
Resolved 💬 3 comments Opened Apr 14, 2026 by Myth-ili Closed Apr 17, 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?
at times when i attach screenshot to session it throws api errror, even when with new chat sessions, This has occurred many times in my coding journey with claude code.
What Should Happen?
when screenshot is attached no errors should be displayed
Error Messages/Logs
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca22HeiECk7wNBGKp7dW4"}
Steps to Reproduce
when a screenshot is attached it sends api error in response API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca22HeiECk7wNBGKp7dW4"}
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude 1.2278.0 (e5213f) 2026-04-13T17:49:21.000Z
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
<img width="1256" height="318" alt="Image" src="https://github.com/user-attachments/assets/b2859c44-242c-41e7-9e21-b76d80fea7ec" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗