"Failed to create file operation." when creating OpenAI Vector Store

Andres da Silva Santos 85 Reputation points

I'm trying to create a Vector Store with some file attached:

curl --location 'https://{HOST}.openai.azure.com/openai/vector_stores?api-version=2024-05-01-preview' \
--header 'Content-Type: application/json' \
--header 'api-key: {OPENAI_KEY}' \
--header 'OpenAI-Beta: assistants=v2' \
--data '{
    "name": "Software Engineer FAQ",
    "file_ids": ["file-id"]

But I get the error:

    "error": {
        "message": "Failed to create file operation.",
        "type": "server_error",
        "param": null,
        "code": null

This only happens when I try to create with file_ids filed.

The same happens when I try to attach some file after creating a Vector Store.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,441 questions
{count} votes