Model ID 403 Error

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch 2.9, Amazon Linux

Describe the issue:
I am stumped with this permissions error. I am logged in as “admin” and registered a new model ID. When submitting the following: POST /_plugins/_ml/models/model_id/_predict

I get {
“error”: {
“root_cause”: [
{
“type”: “status_exception”,
“reason”: “Error from remote service: {"message":"You don’t have access to the model with the specified model ID."}”
}

Have read through the Model API documentation but there doesn’t seem to be anything specific to this, any help?

Configuration:

Relevant Logs or Screenshots:

From the reason looks like it’s coming from the model service you are using: Error from remote service:

Which model service are you using?

Hi! Thanks, I’m using AWS Bedrock with a new user and associated policies.

The bedrock model you are using, you need to request access to that model. This error is coming from the bedrock service for not having access to the requested model.

1 Like