[BUG] API Error: Overloaded should automatically retry w/ backoff

Resolved 💬 11 comments Opened Mar 21, 2025 by scottleibrand Closed Mar 24, 2025

Environment

  • Platform (select one):
  • [X] Google Vertex AI
  • Claude CLI version: 0.2.52 (Claude Code)
  • Operating System: macOS 15.3.1
  • Terminal: iTerm2

Bug Description

I frequently get: API Error: {"type":"error","error":{"details":null,"type":"overloaded_error","message":"Overloaded"} } which interrupts flow and requires me to submit another prompt to get Claude Code to continue whatever it was doing.

Expected Behavior

It would be far better if the Overloaded error was treated as a retriable one, possibly with exponential backoff, to allow the overload condition to clear without requiring human input on my part.

Actual Behavior

I have to type something (I usually just do c) to get it to continue.

View original on GitHub ↗

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