95MB limit for Pro plan?

Looking at the OCR API page, it says the PRO PDF plan allows uploads “100MB+”. But when I try to upload anything over 95MB (100000000 bytes), I get an error. How can we process 100MB+ files?

Hello, thanks for using our OCR API :slightly_smiling_face:. There is no hard file size limit on the PRO PDF plan. However, there is a 10 minute connection timeout limit for the OCR API call. So depending on the Internet speed, the connection might time out before the file is fully uploaded. Here are our recommendations:

  • If possible, use the URL method instead of uploading the (large) file. This makes the file upload almost instant. In addition, it also makes the internal OCR conversion a bit faster. Because in this case, the URL is used internally, not the large PDF file.
  • Consider splitting the large file into smaller chunks. There are some good and free PDF file splitting command line tools available. If you need a recommendation, let me know.

When I try to submit the URL of a large PDF, I get the following response after a few seconds:

{
    "OCRExitCode": 3,
    "IsErroredOnProcessing": true,
    "ErrorMessage": [
        "E214:File failed validation. File size exceeds the maximum size limit. Maximum size limit 100000 KB"
    ],
    "ErrorDetails": "",
    "ProcessingTimeInMilliseconds": "343"
}