claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Could not process image

Open morphaven opened this issue 11 months ago • 1 comments

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?

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

I think the new compact system conflicts with Playwright.

What Should Happen?

repair of the compact system.

Error Messages/Logs

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

Steps to Reproduce

Try to reach the limit. When you are close to the limit (e.g., 1%), try to fill the compact limit by uploading photos (with playwright). This error occurs when trying to read the image immediately after the compact operation. API Error: 400 {“type”:“error”,“error”:{“type”:“invalid_request_error”,‘message’:"Image could not be processed “},‘request_id’:”req_011CVyePZFXPcrcqpSbt7dew"}

Claude Model

Opus

Is this a regression?

Maybe

Last Working Version

v2.0.64

Claude Code Version

v2.0.64

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

For friends looking to solve the issue in the short term, I recommend the /rewind command. Go back as far as the compact data, manually run the compact, and once the chat history comes back, resend the compact message. This should resolve the issue.

morphaven avatar Dec 10 '25 20:12 morphaven

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/12616
  2. https://github.com/anthropics/claude-code/issues/13491
  3. https://github.com/anthropics/claude-code/issues/12103

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 10 '25 20:12 github-actions[bot]