AWS credentials

Hello there,

I am trying to connect to AWS Claude model with a simple HTTP request using the built in AWS credentials. Outside N8N, I was able to connect the account/user to AWS, But when using the same account in N8n, I am getting error.
Forbidden - perhaps check your credentials?

Missing Authentication Token

Here is my workflow.

I am using 1.86.0 version.
Thanks.

You can use either the AWS Bedrock Chat Model node or the Embeddings AWS Bedrock node.

For your AWS account, you need to set up an Access Key ID and Secret Access Key.

You can follow this document to create an access key:

Thanks for the info. I tried doing it. It doesnt work. Can you check at your end. There seems to be some problem in this version of N8n about how auth is handled via HTTP. Aws expects Sig4.

Thanks , I will check my AWS setup and add it to n8n to verify this issue. I’ll let you know once I have more details

1 Like

I checked this and created a new access key based on the documentation I provided in my last post. After that, I created an AWS Bedrock Chat Model and connected it to an AI agent, and it worked normally without any issues.
Screenshot of my setting:


When creating a secret in n8n, please ensure you select the correct region. Some models are only available in specific locations. If you encounter the error: ‘You don’t have access to the model with the specified model ID,’ you may need to change your AWS region in the secret settings.

Interesting. This does work, but I want to use HTTP method as I also want to pass a file for chat. User will send a request to url and get a response.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.