Vector Store Retrieval errors in API and Web Interface

When using the retrieval API for polling Vector store status after creating a vector store, the following error appears frequently from the API as well as when browsing and selecting vector stores from the OpenAI management web portal.

An unexpected error occurred: Failed to retrieve vector store.

I currently workaround this in the API by catching the error and retrying/polling after a certain interval.

4 Likes

I’m also experiencing this - it’s extremely disruptive. I would say > 50% of calls are 500s.

1 Like

Having the same error using the web based vector store
when i do create vector store it gives me this error
image

Error storing data: BadRequestError: 400 Invalid ‘vector_store_id’: ‘[object Object]’. Expected an ID that contains letters, numbers, underscores, or dashes, but this value contained additional characters.

anybody got this error, I am getting the correct vectorId and formate, still it is giving error.

1 Like

if you are using the js/ts stack:

client.vectorStores.search(
                'vectorId',
                { query: 'search term', max_num_results: options.limit },
              )
1 Like

Did you got solution for this I am also facing this at my end

This worked for me , try it
const queryData = async (queryText, vectorStoreId) => {
try {
const searchResults = await openai.vectorStores.search(vectorStoreId, {
query: queryText,
max_num_results: 1,
});
}
}