Got an errors when trying to ask an assistant

Eugene 0 Reputation points

I already created a vector store with uploaded files, created assistant and thread to communicate with it. I can send one message without any error, but next message will not processed successfully. My message error:


  "id": "run_",

  "assistant_id": "asst_",

  "cancelled_at": null,

  "completed_at": null,

  "created_at": 1719150658,

  "expires_at": null,

  "failed_at": 1719150661,

  "incomplete_details": null,

  "instructions": "some instruction",

  "last_error": {

    "code": "server_error",

    "message": "Sorry, something went wrong."


  "max_completion_tokens": null,

  "max_prompt_tokens": null,

  "metadata": {},

  "model": "chat1",

  "object": "",

  "required_action": null,

  "response_format": "auto",

  "started_at": 1719150659,

  "status": "failed",

  "thread_id": "thread_",

  "tool_choice": "auto",

  "tools": [


      "type": "file_search"



  "truncation_strategy": {

    "type": "auto",

    "last_messages": null


  "usage": {

    "completion_tokens": 27,

    "prompt_tokens": 3582,

    "total_tokens": 3609


  "temperature": 1.0,

  "top_p": 1.0,

  "tool_resources": {}


I was trying to upload my 2 .pdf files to vector storage, created assistant with file-search settings. Then when I tried to communicate with my assistant to search information from file using threads, the first message is returned answer, but the next I got an error, that I provided upper. Better response was when I ask information only for one file (4-5 successfully response). Deletting thread and creating new - will be the same problem.

How can I solve this problem?

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