Got Internal Server Error when CURL DeepSeek-R1 on Azure AI

Qumeng Sun 5 Reputation points
2025-02-09T18:14:36.61+00:00
$       curl "https://ai-<XXX>.openai.azure.com/openai/deployments/DeepSeek-R1/chat/completions?api-version=2024-02-15-preview" \
        -H "Content-Type: application/json" \
        -H "api-key: <XXX>" \
        -d '{
          "messages": [{"role":"system","content":"<PROMPT>"}],
          "max_tokens": 800,
          "temperature": 0.7,
          "frequency_penalty": 0,
          "presence_penalty": 0,
          "best_of": 1,
          "top_p": 0.95,
          "stop": null,
          "model": "DeepSeek-R1"
        }'

{"error":{"code":"InternalServerError","message":"Backend returned unexpected response. Please contact Microsoft for help."}}
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,656 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,123 questions
{count} vote

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.