InvalidContentLength The input image is too large. Refer to documentation for the maximum file size. JPEG 5MB

Jul 41 Reputation points
2022-03-17T13:39:26.683+00:00

Hi,
I have been having this issue with JPEG files since Studio launched. On 2.1-preview it is working fine, but with newer API I am getting image too large error.
I have tried changing between JPEG/JPG/Bitmap and such files. Also cropping the image to less than 5MB, but the issue seems to persist. From documentation max file size is 50MB, this is 1 page, 5MB 3000x4000 pixel image.
Tried analyzing with studio and through REST API, still same error.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,336 questions
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
2,104 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.