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

Getting API error after sometime of usage

Open pruthvi-itribe opened this issue 6 months ago • 4 comments

Sometimes when long task is completed and next task is giving this error log

⎿  API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
    ⎿  TypeError (fetch failed)
  ⎿  API Error (Connection error.) · Retrying in 1 seconds… (attempt 2/10)
    ⎿  TypeError (fetch failed)
  ⎿  API Error (Connection error.) · Retrying in 2 seconds… (attempt 3/10)
    ⎿  TypeError (fetch failed)
  ⎿  API Error (Connection error.) · Retrying in 5 seconds… (attempt 4/10)
    ⎿  TypeError (fetch failed)
  ⎿  API Error (Connection error.) · Retrying in 8 seconds… (attempt 5/10)
    ⎿  TypeError (fetch failed)
  ⎿  API Error (Connection error.) · Retrying in 17 seconds… (attempt 6/10)
    ⎿  TypeError (fetch failed)

this goes in loop, restarting terminal or claude doesn't solve this issue, but on restarting laptop its working fine

I haven't hit any limits and on restart its working fine, am on claude max 200$ plan

pruthvi-itribe avatar Jun 16 '25 09:06 pruthvi-itribe

Image

even submitting bug from console is failing, mostly there is some issue with api connectivity in the library, am pretty sure this is not something to do with backend

pruthvi-itribe avatar Jun 16 '25 11:06 pruthvi-itribe

this is state after restarting laptop

Image

and its working fine post that for sometime

pruthvi-itribe avatar Jun 16 '25 11:06 pruthvi-itribe

The situation is dire... Claude Code has been unusable for days. I hope my Max subscription is going to be reimbursed for those lost days...

Image

Emasoft avatar Jun 16 '25 13:06 Emasoft

I think it's the same problem here --> https://github.com/anthropics/claude-code/issues/1536

VincentCassiau avatar Jun 16 '25 15:06 VincentCassiau

Hitting the same problem, me too with the Max subscription.

rmfalco89 avatar Jul 30 '25 15:07 rmfalco89

same problem all the time with the max plan ...

Image

ChristopherDosin avatar Aug 01 '25 15:08 ChristopherDosin

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 11 '25 14:08 github-actions[bot]