- Newest
- Most votes
- Most comments
Thank you for reporting this issue. It appears you've encountered a localization bug in the AWS Console related to deleting Bedrock Knowledge resources.
The root cause of the initial deletion failure was that the OpenSearch Serverless instance associated with the Knowledge Bases was deleted before attempting to delete the Knowledge Bases themselves. This can lead to the error you encountered, suggesting to check vector store configurations and permissions.
When you tried to follow the guidance to change the dataDeletionPolicy to RETAIN, you encountered a validation error. This error occurred because the console was set to a non-English language (likely Korean, based on the '유지' value), and the system was not properly translating or accepting the localized value for "RETAIN".
The solution you found - switching the AWS Console language to English - is indeed the correct workaround for this issue. In English, the console correctly recognizes "RETAIN" as a valid enum value for the dataDeletionPolicy.
This appears to be a bug in the AWS Console's localization, where it's not properly handling translated enum values in certain languages. It's important to note that while changing the language to English resolved the issue, this is not an ideal long-term solution. AWS should ensure that their console functions correctly in all supported languages.
For anyone else encountering this issue:
- First, avoid deleting the OpenSearch Serverless instance before deleting the Knowledge Bases.
- If you've already deleted the OpenSearch instance, try changing the dataDeletionPolicy to RETAIN.
- If you encounter a validation error when changing the policy, switch your AWS Console language to English and try again.
- After successfully changing the policy to RETAIN, you should be able to delete the Knowledge Base.
It would be beneficial to report this localization bug to AWS support so they can address it in future updates.
Sources
Bedrock Knowledge base - Delete unsuccessful | AWS re:Post
Resolve the "Failed to delete knowledge base" error in Bedrock | AWS re:Post
Cannot delete data source or knowledge base | AWS re:Post
Relevant content
- asked 6 months ago
- asked 6 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 6 months ago