Closed joshuali925 closed 10 months ago
From your request looks like you didn't provide session token
. Could you please check this documentation?
@dhrubo-os thanks for replying. I'm using IAM user that doesn't need session token. I also tried with temporary credentials from my admin role (with the session token), but got the same error
@ylwu-amzn helped to figure out the issue, the bedrock endpoint should be https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-v1/invoke
, closing. thanks
What is the bug? Cannot call predict after creating a model that uses bedrock claude endpoint
How can one reproduce the bug? Steps to reproduce the behavior:
plugins.ml_commons.only_run_on_ml_node
and setplugins.ml_commons.trusted_connector_endpoints_regex
to allow"^https://bedrock\\.us-east-1\\.amazonaws\\.com/.*$"
What is the expected behavior? output of claude completions
What is your host/environment?
Do you have any screenshots? If applicable, add screenshots to help explain your problem.
Do you have any additional context? the same credential works using bedrock through aws python sdk. i also tried credentials from the admin role in my aws account, but still got the same error