Intermittent 400 Errors with Azure Document Intelligence AnalyzeDocumentAsync

Zaimoglu, D. (Diba) 0 Reputation points
2024-11-15T10:57:56.55+00:00

Hi,

We’ve been experiencing an issue with Azure Document Intelligence services over the past two days.

When calling the AnalyzeDocumentAsync endpoint, we occasionally receive an HTTP 400 error. However, for the exact same request, sometimes we get a 200 response, and other times we receive the 400 error. The error message we see is:

{

"error": {

"code": "InvalidRequest",

"message": "Invalid request.",

"innererror": {

  "code": "InvalidContentDimensions",

  "message": "The input image dimensions are out of range. Refer to documentation for supported image dimensions."

}

}

}

This behavior is new—it did not occur prior to two days ago. We haven’t made any changes on our end, and the requests being sent are identical. I’ve checked Azure Status, and there don’t seem to be any reported issues with Document Intelligence services in our region.

Could you help us understand why this might be happening and how to resolve it? It’s particularly confusing that the same request sometimes succeeds and sometimes fails.

Thank you for your assistance!

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,784 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.