- Newest
- Most votes
- Most comments
This doesn't appear to be a Bedrock bug, but rather a potential issue with how changes are being managed between your S3 data source and your knowledge base.
When working with Amazon Bedrock Knowledge Bases that use S3 data sources, it's important to understand how changes are synchronized. If you're making changes directly to the knowledge base using the AWS Management Console or the KnowledgeBaseDocuments API operations, these changes won't automatically be reflected in your S3 location.
The issue you're experiencing with "Index Creation" and the data access policy referring to an old knowledge base could be related to this synchronization challenge. When you make changes directly to the knowledge base, you should also make the same changes in your S3 location to prevent them from being overwritten during the next sync operation.
Additionally, you should avoid submitting an IngestKnowledgeBaseDocuments request and a StartIngestionJob request at the same time, as this could cause conflicts.
I recommend checking that your data access policy is correctly configured for your current knowledge base, and ensure that any changes you make to the knowledge base are also reflected in your S3 data source.
Sources
Ingest changes directly into a knowledge base - Amazon Bedrock
answered 10 months ago
- Bedrock reusing an old internal KB ID
- Bedrock regenerating an old data access policy name
- AOSS policy ARNs pointing to the wrong collection
- Index creation failing before ingestion even starts Failure happens before ingestion.So not sure if above response fits my scenario.
