I want to sync my Amazon Bedrock knowledge base, but I receive a file sync error.
Resolution
File format and size limitations
Verify that your data source files comply with the supported formats and size restrictions for knowledge bases.
If your data source exceeds the size limit for a parsing strategy, then split your data into multiple data sources. Or, you can request a limit increase from AWS Support.
Permissions and access issues
Verify that the AWS Identity and Access Management (IAM) role for your Amazon Bedrock knowledge base has the permissions to access the data store and generate queries. To configure the required permissions, see Create a service role for Amazon Bedrock Knowledge Bases.
If you use embedding models with your knowledge base, make sure that you have access to the embedding models. Missing subscriptions might result in authentication errors. To request access to the required models, follow the instructions in Access Amazon Bedrock foundation models.
Internal server errors
Prerequisite: Create a destination to deliver your logs to. You can use Amazon Simple Storage Service (Amazon S3) to set up an S3 bucket, or use Amazon CloudWatch Logs to set up a log group. If you use an S3 bucket, then add a bucket policy to the bucket that includes the policy statement from step 2 in Set up an Amazon S3 destination. If you use a log group, then create an IAM role that includes the trust relationship and policy statement from step 2 in Set up a CloudWatch Logs destination.
If you received the "The server encountered an internal error while processing the request" error during the sync process, check the logs. Complete the following steps:
- Use the CloudWatch console or API to activate logging for the knowledge base.
- Review the AWS CloudTrail logs and model invocation logging for the ThrottlingException error.
Third-party application integration issues
If you sync data from third-party applications, then make sure that you correctly set up the credentials and configurations. To set up the integration, use the following documentation for your third-party application:
If you experience sync failures after following the preceding resolutions, then create a HAR file and Console logs for an AWS Support case.
Related information
Sync your data with your Amazon Bedrock knowledge base
How do I troubleshoot permission errors that I get when I create a knowledge base in Amazon Bedrock?