Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.37k stars 4.79k forks source link

[Text Analytics] Transient Internal Server Error: "Internal Server Error." #35678

Open joseharriaga opened 1 year ago

joseharriaga commented 1 year ago

The pipeline that runs the live tests for the .NET client library encounters this issue every now and then, where the server returns an "Internal Server Error." The request itself has no issues, and retrying it usually yields a successful result. Below is an example of the response. Additionally, while I'm not able to confirm the following, I believe that this only repros when using the analyze-text/jobs endpoint.

More info here: ๐Ÿ”— https://dev.azure.com/msazure/Cognitive%20Services/_workitems/edit/17916739

Link to the failed pipeline run: ๐Ÿ”— Pipelines - Run 20230216.1 (azure.com) (See the result of AnalyzeOperationWithAADTest)

Link to test source code: ๐Ÿ”— azure-sdk-for-net/AnalyzeOperationTests.cs at 3736b087382eeb21af7daa54deb7d53eaf58211c ยท Azure/azure-sdk-for-net (github.com)

CodeAnalyst commented 1 year ago

@joseharriaga been stuck at this error while calling the client.AnalyzeConversations(WaitUntil.Completed, RequestContent.Create(data)); ConversationAnalysisClient .

API call returning Azure.RequestFailedException: Internal server error Status: 500 (Internal Server Error) ErrorCode: InternalServerError

Content: {"error":{"code":"InternalServerError","innerError":{"requestId":"7d112329-9ec9-4937-9afc-74d9aef3c542"},"message":"Internal server error"}}

Any idea how to proceed.. thanks