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

[BUG] Repeated "Image couldn't be processed" API errors consuming usage limit in Claude Code

Open 3ct0s opened this issue 6 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?

Description

Claude Code repeatedly triggered image processing errors that consumed my entire usage limit without producing useful output. After an initial failed attempt to process a base64-encoded image, every subsequent request in the conversation triggered the same error.

Error Pattern

The following error appeared on every tool invocation after the initial failure:

An image couldn't be read. Rewind to remove it and try a different format. API Error: an image in the conversation could not be processed and was removed. Re-read the file with a different approach if you still need it. Tool calls that triggered the error:

  • Read bg66xakij.output
  • ToolSearch
  • Generic tool usage
  • "Verify image then send all preview emails"
  • "Follow redirect to confirm 200"

Actual Behavior

The error persisted across all subsequent requests, consuming my entire 5-hour usage limit without producing useful work.

Environment

  • Product: Claude Code Desktop MacOS
  • Conversation ID: 215474449845617
  • Date: May 26, 2026
  • MacOS Version 26.3.1 (a) (25D771280a) Claude desktop version: "May 22, 2026 1.8555.1"

Impact

This bug consumed my entire usage allocation, preventing me from completing my work.

What Should Happen?

Expected Behavior

After an image processing error, Claude Code should either:

  • Stop attempting to process the problematic image
  • Allow the conversation to continue without repeatedly triggering the same error
  • Not consume usage credits for repeated error states

Error Messages/Logs

Image couldn't be processed
An image couldn't be read. Rewind to remove it and try a different format.
View details
API Error: an image in the conversation could not be processed and was removed. Re-read the file with a different approach if you still need it.

Steps to Reproduce

Steps to Reproduce

  1. Asked Claude Code to append an image to an email template
  2. Claude Code attempted to read base64-encoded image from /tmp/barberas-email/logo-base64.txt
  3. Initial commands executed:
    • cat /tmp/barberas-email/logo-base64.txt | wc -c (returned 2098)
    • cat /tmp/barberas-email/logo-base64.txt | head -c 100 && echo "..."
  4. Received error: "API Error: an image in the conversation could not be processed and was removed"
  5. Every subsequent request triggered the same error repeatedly

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.140 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Image Image

3ct0s avatar May 26 '26 11:05 3ct0s

Same error here but it says:

API Error: an image in the conversation could not be processed and was removed. Re-read the file with a different approach if you still need it.

keeps repeating through the VS Code Extension on Opus 4.8

mmffdev avatar Jun 01 '26 00:06 mmffdev

+1

Galven avatar Jun 02 '26 05:06 Galven

Was happening today. Burned through my 5 hour within 2 prompts..

CloudyChai avatar Jun 02 '26 15:06 CloudyChai

Also happened to me in Claude for VS Code, I wiped my 5 hours out in an hour flat somehow.

popsandthefamily avatar Jun 02 '26 19:06 popsandthefamily

yes same with me

jaydeep-devx avatar Jun 03 '26 05:06 jaydeep-devx

just one prompt with claude this and my limit got reached

jaydeep-devx avatar Jun 03 '26 05:06 jaydeep-devx

Same with me, got multiple similar error and wiped my 5 hours that was just reset. I was on max 5x plan.

nazarrd avatar Jun 03 '26 05:06 nazarrd

Same here, usage went in 2 mins after one prompt after resetting, on the pro licence also.

azzapoys avatar Jun 03 '26 11:06 azzapoys

I'm getting the same error here:

"API Error: an image in the conversation could not be processed and was removed. Re-read the file with a different approach if you still need it."

The issue also consumed my MAax plan usage in less than 5 minutes. I NEED MY USAGE RESTORED !!!!

Because of this error, I couldn't finish my project on time and now I have to wait 5 hours before I can continue.

hossein-webdev avatar Jun 03 '26 18:06 hossein-webdev

+1 @ThariqS

beztebya666 avatar Jun 04 '26 15:06 beztebya666

Image

beztebya666 avatar Jun 04 '26 15:06 beztebya666

Same here:

API Error: an image in the conversation could not be processed and was removed. Re-read the file with a different approach if you still need it.

API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited

MichaelUray avatar Jun 04 '26 16:06 MichaelUray

+1. It's been happening since yesterday continuously. It's unusable!

ThalionA avatar Jun 05 '26 09:06 ThalionA

I’ve encountered the same issue. Has any solution been found yet? Is everyone still experiencing this problem?

ELMarso-ux avatar Jun 05 '26 10:06 ELMarso-ux