Getting API error after sometime of usage

Resolved 💬 7 comments Opened Jun 16, 2025 by pruthvi-itribe Closed Jun 17, 2025

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

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗