- Newest
- Most votes
- Most comments
Answering my own question as I was able to understand what the issue is. The problem was not related to the role, it was related to the fact that I didn't subscribe to Amazon Titan Model in the Bedrock Marketplace. After I have subscribed I was able to complete the sync.
answered 2 years ago
This error suggests that the service role created for your Amazon Bedrock Knowledge Base doesn't have the necessary permissions to access the embedding model used for vectorizing your data. This is likely not a known issue, but rather a configuration problem that can be resolved.
To address this, you need to ensure that the IAM role associated with your Knowledge Base has the proper permissions to access the Bedrock embedding model. Here are some steps you can take to resolve this:
-
Check the IAM role permissions: Verify that the service role created for your Knowledge Base has the correct permissions to access Bedrock models. You may need to add specific permissions to allow access to the Titan embedding model.
-
Request model access: Ensure that you have requested and been granted access to the Titan embedding model in your AWS account for the region you're working in. Sometimes, even if you have general access to Bedrock, you might need to explicitly request access to specific models.
-
Review your account's model access: In the Bedrock console, go to the "Model access" section and verify that the Titan embedding model is listed and enabled for your account.
-
Sync after granting permissions: If you've made any changes to permissions or model access, try syncing your data source again. Sometimes, syncing before all necessary permissions are in place can lead to this type of error.
-
Consider using a custom IAM role: Instead of using the default service role, you might want to create a custom IAM role with the specific permissions needed for your use case. This gives you more control over the exact permissions granted.
If these steps don't resolve the issue, you may want to contact AWS Support for further assistance, as they can provide more specific guidance based on your account's configuration.
Sources
Prerequisites for creating an Amazon Bedrock knowledge base with a unstructured data source - Amazon Bedrock
Sync your structured data store with your Amazon Bedrock knowledge base - Amazon Bedrock
i am having same issue and since model access page is retired after creating a knowledge base and trying to sync data am facing this error Data sync failed. "Knowledge base role arn:aws:iam::866064993268:role/service-role/AmazonBedrockExecutionRoleForKnowledgeBase_7izu0 is not able to call specified bedrock embedding model arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-embed-text-v2:0: Operation not allowed (Service: BedrockRuntime, Status Code: 400, Request ID: 08bc0c2b-4ccc-450d-963c-ed3e164396a6)
answered 8 months ago
Relevant content
asked a year ago

Thank you so much. This is exactly the issue I was running into.