claude-code - 💡(How to fix) Fix [BUG] Usage credit used on nothing but errors

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

API Error: Stream idle timeout - partial response received

Code Example

API Error: Stream idle timeout - partial response received
RAW_BUFFERClick to expand / collapse

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?

I'm updating a script on a chrome extension that i'm building by Claude Code. I gave it a new promt to update it in the last 5hour usage cycle. It didnt complete it with the allocation (which is fine)

When the usage reset, I hit resume, It used the first 60% redoing all the work it did in the last session, and I've had nothing but errors saying "API Error: Stream idle timeout - partial response received"

Can i get a refund or credit on my usage. I don't want to wait another 4 hours to be able to finish work i expected to be done 2 hours ago.

What Should Happen?

Can i get a refund or credit on my usage. I don't want to wait another 4 hours to be able to finish work i expected to be done 2 hours ago.

Error Messages/Logs

API Error: Stream idle timeout - partial response received

Steps to Reproduce

I have no idea. I can't see what it's doing

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

4.6

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by waiting for the usage reset or seeking a refund/credit for the incomplete work due to the "API Error: Stream idle timeout - partial response received" error.

Guidance

  • The error "API Error: Stream idle timeout - partial response received" suggests that the API connection timed out, causing the script to redo previous work and resulting in errors.
  • To verify the issue, try resuming the script after a shorter usage cycle to see if the error persists.
  • Consider reaching out to the Claude Code support team to request a refund or credit for the incomplete work, as the issue seems to be related to the API and not the user's code.
  • Check the Anthropic API documentation to see if there are any known issues or limitations with stream idle timeouts that could be contributing to the problem.

Notes

The root cause of the issue is unclear, but it seems to be related to the API connection timing out. The fact that it worked in a previous version suggests that it could be a regression bug.

Recommendation

Apply workaround: Seek a refund or credit for the incomplete work, as the issue seems to be related to the API and not the user's code, and waiting for a fix or a new version might take longer than the user's deadline.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING