The server had an error processing your request. Sorry about that!

Steve Godfrey 5 Reputation points
2025-04-23T21:09:23.4566667+00:00

The server had an error processing your request. Sorry about that! You can retry your request, or contact us through an Azure support request at: https://go.microsoft.com/fwlink/?linkid=2213926 if you keep seeing this error. (Please include the request ID bee3f3ff-b781-4e3f-b225-d86e22e984ca in your email

The messages happens about 50 seconds after the request.

The request sent to: <hidden>/openai/deployments/gpt-4.1/chat/completions?api-version=2025-01-01-preview

Request:

{

"model": "gpt-4.1",

"messages": [

{

  "role": "user",

  "content": [

    {

      "type": "file",

      "file": {

        "file_id": "assistant-M7bgr3pdZDAdcPWXUH5EZ6"

      }

    }

  ]

},

{

  "role": "user",

  "content": [

    {

      "type": "text",

      "text": "Convert the attached document to markdown format. Extract all text from embedded images and include in the document"

    }

  ]

}

],

"response_format": {

"type": "text"

},

"temperature": 1.0,

"top_p": 1.0

}
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,621 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JAYA SHANKAR G S 3,960 Reputation points Microsoft External Staff Moderator
    2025-05-30T08:05:51.34+00:00

    Hello @Steve Godfrey ,

    Thank you for your patience. We’ve received an update from our product team this issue has been identified as a fundamental feature gap. The team is actively working on implementing the functionality.

    Currently, there is no ETA for the fix. However, we are closely tracking the progress and will keep you informed as soon as any updates or releases become available.

    In the meantime, the product team has provided a workaround using a vector store and the file_search tool to retrieve content. Below is a sample code snippet for the responses API:

    response = client.responses.create(  
        model="gpt-4.1-mini",  
        input=[{"role": "user", "content": "Describe the files in the vector store."}],
        tools=[{
            "type": "file_search",
            "vector_store_ids": ["vs_uUYi8hxFmT7fYncND6nKhqUS"],
        }]
    )  
    
    for i in response.output:
        if i.type == "message":
            print(i.content[0].text)
    

    You’ll need to specify the vector store ID, which can be created via SDK, REST API, or the Azure portal.

    Location to create the vector store

    User's image

    File upload to the vector store

    User's image

    Sample output

    User's image

    Please evaluate whether this workaround suits your use case. If it does, you may proceed with it until the permanent fix is available. Otherwise, we appreciate your continued patience as our team works on a solution.

    Feel free to reach out in the comments if you need help implementing the workaround or have further questions.

    Thank you


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.