Thanks so much, @nanadjoaanim4721!! Can’t wait to hear what you think of Amazon Bedrock and the project! 🔥🔥
@ChrisSaave
2 ай бұрын
🙌🏼🙌🏼🙌🏼🙌🏼🙌🏼🙌🏼 let’s gooooo
@BrianHHough
2 ай бұрын
@@ChrisSaave let’s gooo man!! 🔥🔥🙏🚀
@NagaSai-s9h
2 ай бұрын
bro how to solve the error like An error occurred (ValidationException) when calling the InvokeModel operation: Operation not allowed and it happen when i use the bedrock model in application and try both root and iam account but it give me same ouptut
@BrianHHough
2 ай бұрын
Hey @user-qe2nn1sc1g - great question. It sounds like you might be facing an IAM issue with the permission allowance of the service calling your InvokeModel operation within your app. Are you using Lambda or API Gateway? Even if your user account has root credentials, the AWS service (like Lambda) that you're using to call Bedrock won't automatically assume those same credentials. To resolve this, check if the IAM role associated with your Lambda function or API Gateway has the necessary permissions to call the Bedrock InvokeModel operation. Specifically, ensure the IAM role has the following permissions: ``` { "Effect": "Allow", "Action": "bedrock:InvokeModel", "Resource": "arn:aws:bedrock:region:account-id:model/model-id" } ``` Make sure to replace region, account-id, and model-id with your specific details. Additionally, verify that the trust relationship policy of the IAM role allows the service to assume the role correctly. If you continue to have issues, feel free to share more about your setup and I'll be happy to help further. Hope this helps!
Пікірлер: 6