I am trying to invoke AWS bedrock in http node , but it throws the error as below
Forbidden - perhaps check your credentials?
Credential should be scoped to correct service: ‘bedrock’.
could not see options to add service in http node. how to fix this?
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
good day @vino
I’d set the AWS SigV4 service to bedrock-runtime, not bedrock, because Bedrock model invocation uses the Runtime API; if n8n’s HTTP node/credential doesn’t expose that service field, I’d use the native AWS Bedrock node or create/sign the request externally before sending it.
Hi @vino, that “Credential should be scoped to correct service: ‘bedrock’” error is a known bug in the HTTP Request node — it parses bedrock-runtime from the URL subdomain instead of using bedrock as the SigV4 service name. Skip the HTTP node entirely and use the native Bedrock Chat Model node which handles signing correctly:
Plug your AWS creds (access key + secret + region) into the Bedrock Chat Model node, swap the model ID to whichever you have enabled in your Bedrock console.