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

Jul 26 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.
2,580 questions
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,405 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Andre Marzulo 16 Reputation points
    2022-03-24T17:10:42.21+00:00

    Same here. 4,73MB, JPG, 4032x3024

    3 people found this answer helpful.
    0 comments No comments

  2. Yasiru Randika 6 Reputation points
    2022-08-09T14:02:10.42+00:00

    Is this issue still there. Today I uploaded a PDF which is 4 MB.

    Got the error The input image is too large. Refer to documentation for the maximum file size.

    @YutongTie-MSFT

    1 person found this answer helpful.
    0 comments No comments

  3. Tuan Ardouin 0 Reputation points
    2023-01-24T12:44:46.02+00:00

    Hi, it's been a year and I have the same problem. Any update?

    0 comments No comments

  4. Dmitri Villevald 0 Reputation points
    2023-06-25T04:17:53.84+00:00

    Is there any update on this issue? I am still having the same problem.

    0 comments No comments

  5. Stewart F 5 Reputation points
    2023-09-28T12:59:30.54+00:00

    I am using Form Regognizer Studio with 2023-07-31 (3.1 GA) API and assessing the capabilities of this to read text from a webpage and a PDF-formatted screenshot of a webpage. The PDF is only 4.7MB.

    I get the following errors:

    • Cant read (OCR) large 1-page PDF or JPEG : Form Recognizer can not access the document from the URL. If using Azure storage blob, enabled CORS and set container access level to public.
    • Fetch a file from a URL: (e.g. https://openai.com/blog/chatgpt-can-now-see-hear-and-speak) : Form Recognizer can not access the document from the URL. If using Azure storage blob, enabled CORS and set container access level to public.

    I have a Azure AI services multi-service account linked to test Azure OpenAI service. The AI is linked to Cognitive Search and a Blob SA. I cant make this blob SA public as it contains private company data.

    I am using the Standard S0 Pricing tier for Document Intelligence for testing.

    What can I do to resolve this?

    0 comments No comments