500 Server Error When Requesting Ephemeral Token for gpt-40-realtime-preview on Sweden Central

Cristina S 5 Reputation points
2025-05-19T11:32:55.6633333+00:00

Hello,

I am currently trying to fetch an ephemeral API token for the REALTIME API using gpt-40-realtime-preview in the Sweden Central region. However, I keep receiving a 500 Server Error, even when using the boilerplate example from the documentation (with my own api_key and specifying the model as the deployment name).

Here is the error message:"message": "The server had an error processing your request. Sorry about that! You can retry your request, or contact us by filing an Azure support request in the portal. You can find information on how to do that here: https://learn.microsoft.com/azure/ai-services/cognitive-services-support-options if you keep seeing this error. (Please include the request ID 92b5e5ec-c119-4e17-8200-4fd571f999c0 in your email.)",

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,085 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Jerald Felix 1,705 Reputation points
    2025-05-19T16:20:18.7233333+00:00

    Hello Cristina S,

    This typically points to a backend issue on Azure’s side, not a problem with your API key or payload syntax.

    Double-check a few critical areas:

    Ensure gpt-40-realtime-preview is the actual name of your deployment in Azure, not just the model name.

    Must be: https://<your-resource-name>.openai.azure.com/openai/deployments/<deployment-name>/chat/completions?api-version=2024-02-15-preview

    Confirm that gpt-40-realtime-preview is officially available in Sweden Central. As of mid-May 2025, this model may not be live in that region yet.

    Azure has been rolling out GPT-4o (gpt-40-realtime-preview) gradually, and some regions are still in preview or may be experiencing instability.

    Best Regards,
    Jerald Felix


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.