[BUG]

Resolved 💬 3 comments Opened Nov 24, 2025 by rolinger Closed Nov 28, 2025

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?

Others have reported this similar issue, however HOW mine occurred is what is of interest. Claude CLI is using appium to test a mobile app in Android Emulator. While trying to troubleshoot an issue Claude took its own screen shot of the app:

Bash(adb -s emulator-5554 shell screencap -p > /c/Users/smith/dev/github/project/emulator_screen.png
       2>&1)

Then it tried to read the image and that's when the error occurred:

● Read(emulator_screen.png)
  ⎿  Read image (1.5MB)
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process
    image"},"request_id":"req_011CVT8Hms2jsAt6mposaatc"}

And now it gives the same error for everything I type into the console:

> what have you found?
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process
    image"},"request_id":"req_011CVTAu66brM5NLB1oYCnet"}

> are you getting that api error?
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process
    image"},"request_id":"req_011CVTAxvQJh3azfXN82dMKd"}

> issue?
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process
    image"},"request_id":"req_011CVTB36Nwfy2GTo45yFcjB"}

This forces me to start a new Claude CLI session because this one just hung repeating the same error on anything I type.

What Should Happen?

It should read the image file it took...and not hang.

Error Messages/Logs

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process
    image"},"request_id":"req_011CVT8Hms2jsAt6mposaatc"}

Steps to Reproduce

Have Claude CLI take a screenshot of an emulator device that it is interacting with using Appium....and then try to read that image.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.51

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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