generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 535
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- I have updated to the lastest minor and patch version of Strands
- I have checked the documentation and this is not expected behavior
- I have searched ./issues and there are no duplicates of my issue
Strands Version
1.8.0
Python Version
3.13.7
Operating System
MacOS
Installation Method
pip
Steps to Reproduce
Call agent with Bedrock model (see model id below) often enough during busy hours of Bedrock so that an error is issued like this (mind the spelling of throttlingException):
botocore.exceptions.EventStreamError: An error occurred (throttlingException) when calling the ConverseStream operation: Too many requests, please wait before trying again. You have sent too many requests. Wait before trying again.
└ Bedrock region: us-east-1
└ Model id: us.anthropic.claude-3-7-sonnet-20250219-v1:0
Expected Behavior
Retry is handled by the agent in the same way as it currently handles the same error code with uppercase T (ThrottlingException).
Actual Behavior
Error is raised without retry.
Additional Context
I raised a ticket to Bedrock team as well, but no plan to fix, yet.
Possible Solution
If the error code is present, do lower() before comparison to throttlingexception.
Related Issues
No response
SZubarev and cliren
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working