"Sorry, something went wrong." When running Thread on Azure OpenAI

Rob 0 Reputation points
2025-07-03T14:37:23.86+00:00

I get this error when trying to create Runs on a Thread

"last_error": {
    "code": "server_error",
    "message": "Sorry, something went wrong."
  },

Here is the full Thread config: (IDs removed)

{
  "id": "",
  "object": "thread.run",
  "created_at": 1751552717,
  "assistant_id": "",
  "thread_id": "",
  "status": "failed",
  "started_at": 1751552718,
  "expires_at": null,
  "cancelled_at": null,
  "failed_at": 1751552718,
  "completed_at": null,
  "required_action": null,
  "last_error": {
    "code": "server_error",
    "message": "Sorry, something went wrong."
  },
  "model": "gpt-4o",
  "instructions": "You are a helpful assistant.",
  "tools": [],
  "tool_resources": {},
  "metadata": {},
  "temperature": 1.0,
  "top_p": 1.0,
  "max_completion_tokens": 100,
  "max_prompt_tokens": null,
  "truncation_strategy": {
    "type": "auto",
    "last_messages": null
  },
  "incomplete_details": null,
  "usage": {
    "prompt_tokens": 0,
    "completion_tokens": 0,
    "total_tokens": 0,
    "prompt_token_details": {
      "cached_tokens": 0
    }
  },
  "response_format": "auto",
  "tool_choice": "auto",
  "parallel_tool_calls": true
}

Others seem to have had issues when using tools but you can see here that I've stripped all that out and am still getting the same error. The issue is not intermittent, it happens every time. What else could cause this error?

Azure OpenAI in Foundry Models
0 comments No comments

1 answer

Sort by: Newest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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