Skip to content

[BUG] Could not process image #13594

@morphaven

Description

@morphaven

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions