Skip to content

AccessDeniedException #7959

Description

@Muslimohsen77-ai

ADD ISSUE DESCRIPTION HERE I’m working on the “Exercise: FAQ Assistant with Evaluation” lab.
My Bedrock Runtime client is set to us-east-1, and I’m invoking a versioned managed prompt ARN as modelId.
The script reaches invoke_model, but AWS returns:
AccessDeniedException: Your account is not authorized to invoke this API operation with a prompt resource.
Could you please check whether this lab account has permission to invoke Bedrock prompt resources?

Version: 1.75.1
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:154.0) Gecko/20100101 Firefox/154.0
Embedder: server-distro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions