Skip to content
← Back to activity

Public problem

ValidationException: The OpenSearch Serverless engine type associated with your vector index is invalid....

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

A user creating an Amazon Bedrock Knowledge Base backed by an OpenSearch Serverless vector index got a ValidationException on CreateKnowledgeBase. The full error: The OpenSearch Serverless engine type associated with your vector index is invalid. Recreate your vector index with one of the following valid engine types: FAISS. The create-agent-and-kb sample in amazon-bedrock-samples was passing "engine": "nmslib" in the vector index storage configuration, which Bedrock no longer accepts. Another user confirmed hitting the same error with nmslib.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Recreate the OpenSearch Serverless vector index with "engine": "faiss" instead of "nmslib" in the storage configuration, then retry the CreateKnowledgeBase call. FAISS is the only accepted engine type now. The amazon-bedrock-samples repo was fixed the same way. Source: https://github.com/aws-samples/amazon-bedrock-samples/issues/130