Help with OpenAI file_search_resource

I am testing a scenario where I upload a file to OpenAI and then reference the file in a message to an assistant. The payload that is sent to OpenAI looks correct to me.

[
{
“role”: “user”,
“model”: “gpt-4o”,
“tools”: [
“file_search”
],
“message”: “Here is my message that I have crated to sent.”,
“assistantId”: “asst_lsjY7LfKJkcHjApbCqrCvItt”,
“file_search_resources”: “file-X2jXvMjAu1fsdM6hMhPpDB”
}
]

Yet I get the error for vector database, when I am doing file_search and refference the fileid from the upload step before.

Anyone run in to this problem and can help?