Azure Open AI Internal Server Error 500

Rishab Mehta 20 Reputation points
2025-02-09T16:26:02.9266667+00:00

I just deployed a Llama model from AI Foundry, and am trying to run the sample python code provided in the chat playground. This returns the following error:
openai.InternalServerError: Error code: 500 - {'error': {'code': 'InternalServerError', 'message': 'Backend returned unexpected response. Please contact Microsoft for help.'}}

I have not modified the code other than to add my API key.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,634 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,105 questions
{count} votes

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.