Troubleshooting Azure OpenAI Embedding: Encountering Internal Server Error

Hello, I’ve been working with Azure OpenAI Embedding and have recently run into an issue that I’m hoping someone might be able to help with. Previously, everything was functioning as expected, but now I’m receiving an internal server error.

Here’s the error message I’m getting:

{
    "statusCode": 500,
    "message": "Internal server error",
    "activityId": "98bc6ec4-0e6c-4aac-8f9c-8548bf4d8818"
}

I’ve been using the following API call, and I’ve also tried with the SDK, but I’m facing the same error in both cases:

curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/embeddings?api-version=2023-05-15 \
  -H "Content-Type: application/json" \
  -H "api-key: YOUR_API_KEY" \
  -d "{\"input\": \"Where are you located?...\"}"

I’m not sure what’s causing this sudden change in behavior. Has anyone else encountered this issue or have any suggestions on how to resolve it?