-
Notifications
You must be signed in to change notification settings - Fork 457
[BUG] AWS Bedrock "Interruped by user" #714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Escape the slash in ARN like so #297 (comment) |
Thank you for the tip. I already tried that. No change on my side. |
I'm now having the same problem. I don't understand why considering the same command was working for me before. I also tried replacing the I've tested this on MacOS and Debian Linux (ARM64) and both have the same issue. |
I also tried using the following command to set the environment for Claude Code and still got the error:
|
I had a few unrelated errors trying to use Claude's foundation-model ARNs. I'm not even sure they can be used directly at all. Unless your goal is to make it run wholly within your chosen region, arn:aws:bedrock:us-east-1:XXXXXXXXX:inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0 should be used. |
I tried that and still have the same issue. Thanks |
This command works:
This is likely (suspected but not proven) because the Claude CLI is already constructing the full ARN internally when you provide it with the inference profile ID, so passing the complete ARN was causing the "Interrupted by user" error. |
This worked for me too. |
The above solutions didn't work for me. AWS Bedrock generally works fine via aws command line, litellm, etc. I submit a query and claude code says "percolating" and possibly one other action word, and then goes straight to "Interrupted by user" I'm not able to submit a bug with /bug, it goes straight to "Interrupted by user" If there's any way to print anything verbose at all here, let me know how.
|
I'm having the same issue. I tried pretty much every variation of using the model ARN and the cross-region reference ID that AWS gives to access the model. For info, I'm using temp AWS_ACCESS_KEY. Also, setting |
I just tested the command with Haiku Claude 3.0 with the prompt below and I get functionality, but with Claude 3.7 does not:
|
Environment
Bug Description
I did
aws configure
and tested if I can call the aws bedrock endpoints via this script.This work for both models.
Now I start
claude code
like this:I always get an
Interrupted by user
for any command.> why ⎿ Interrupted by user
I also tried to set then env variable via
claude config set --global env
and removed them again.Configs
Local config:
Global config:
So nothing should overwrite it.
Any help would be appreciated :-)
The text was updated successfully, but these errors were encountered: