[BUG] Exponential backoff is broken
Resolved 💬 6 comments Opened Mar 28, 2025 by sergeimikhailov Closed Nov 30, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [x] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 0.2.56
- Operating System: Linux
- Terminal: irrelevant
Bug Description
In 0.2.56 exponential backoff for throttling with HTTP 429 is broken.
In 0.2.55 and below it is working.
Steps to Reproduce
- Get throttled with 429
Expected Behavior
Automatic retry with exponential backoff and execution continues.
⎿ API Error (429 Too many tokens, please wait before trying again.) · Retrying in 1 seconds… (attempt 1/10) ⎿ API Error (429 Too many tokens, please wait before trying again.) · Retrying in 1 seconds… (attempt 2/10) ⎿ API Error (429 Too many tokens, please wait before trying again.) · Retrying in 2 seconds… (attempt 3/10) ⎿ API Error (429 Too many tokens, please wait before trying again.) · Retrying in 4 seconds… (attempt 4/10) ...
Actual Behavior
⎿ API Error: 429 Too many tokens, please wait before trying again.
Execution stops.
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗