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

Image Processing Failure: Invalid Request Error on PNG File Upload

Open chrislemmer opened this issue 1 year ago • 4 comments

Bug Description Keep getting this no matter what I do: ⏺ Read(../../../../../tmp/feedback_327477_2.png) ⎿  Read image (243 bytes) ⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process image"}}

You stuck? ⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process image"}}

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

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.33
  • Feedback ID: c4abd0d0-81da-44d4-94bb-e4995d43cefa

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"}}\n    at cQ.generate (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1302:12578)\n    at mz.makeStatusError (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:2082)\n    at mz.makeRequest (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async MN2.c11.showErrors (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:22444)\n    at async c11 (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:12346)\n    at async MN2 (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:22290)\n    at async file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:17419\n    at async le1 (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:5121)\n    at async Sd (file:///Users/chrislemmer/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1683:17389)","timestamp":"2025-06-24T08:53:37.349Z"}]

chrislemmer avatar Jun 24 '25 08:06 chrislemmer

Same here. 😕

jeffcovey avatar Jul 23 '25 14:07 jeffcovey

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/4083
  2. https://github.com/anthropics/claude-code/issues/3659
  3. https://github.com/anthropics/claude-code/issues/3386

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 Aug 16 '25 06:08 github-actions[bot]

This issue has been automatically closed as a duplicate of #4083.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 21 '25 09:08 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 29 '25 14:08 github-actions[bot]