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.
- Visit the official Azure OpenAI Status Page to check if Sweden Central or GPT-4o services are down.
- Review the GPT-4o rollout announcement or Azure updates page for Sweden Central support status.
Best Regards,
Jerald Felix