Runs failing with error code Vector Store Timeout

I am running AzureOpenAI assistant but my runs are failing with the following message:

Run(id='run_W9Cdizyq5w9nzfL83CM5gPsT', assistant_id='asst_SY3E931WdjAZ3L6sZbVM4bUS', cancelled_at=None, completed_at=None, created_at=1727172350, expires_at=None, failed_at=1727172411, incomplete_details=None, instructions=None, last_error=LastError(code='vector_store_timeout', message='Failed to process files in vector store vs_UoZ46ZhqEu1WZy2AwVD3ijnC. Please ensure all files in the vector store are processed before retrying the run.'), max_completion_tokens=None, max_prompt_tokens=None, metadata={}, model='gpt-4o-mini', object='thread.run', required_action=None, response_format='auto', started_at=1727172351, status='failed', thread_id='thread_Tok5wq8WYRCgw3a5I9XoskiX', tool_choice='auto', tools=[FileSearchTool(type='file_search')], truncation_strategy=TruncationStrategy(type='auto', last_messages=None), usage=Usage(completion_tokens=0, prompt_tokens=0, total_tokens=0), temperature=0.0, top_p=1.0, tool_resources={}, parallel_tool_calls=True)

When I retrieve the vector store it has the following files:

file_counts=FileCounts(cancelled=0, completed=0, failed=0, in_progress=1, total=1),
however when I retrieve the uploaded file, its status is processed

FileObject(id='assistant-KImj90BTWL2CQcCwSaf4cEdd', bytes=79076, created_at=1727172348, filename='A. Keach #65772 - 2.pdf', object='file', purpose='assistants', status='processed', status_details=None)

What could be the problem?