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
latest
Python Version
3.12.6
Operating System
mac
Installation Method
pip
Steps to Reproduce
I have deployed the repo for a lambda agent as is with CDk to region US-east-1 and EU-west-1, but in both regions I get the same error: Error: An error occurred (AccessDeniedException) when calling the ConverseStream operation: You don't have access to the model with the specified model ID.
While I have access to all antrophic models also in both regions.
Even when I add the model ref self so not the default is taken:
weather_agent = Agent(
system_prompt=WEATHER_SYSTEM_PROMPT,
tools=[http_request],
model="us.anthropic.claude-3-5-sonnet-20241022-v2:0"
)
I get the error
Expected Behavior
I expect a result, in the case the actual weather.
Actual Behavior
n error occurred (AccessDeniedException) when calling the ConverseStream operation: You don't have access to the model with the specified model ID.
Additional Context
No response
Possible Solution
No response
Related Issues
No response