You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the Web service in a Docker container. When trying to upload and process a file, I am getting the following Error: Must be either POST with file field 'file' or GET with param 'url'.
Environment:
MacOS 11.3.1
Docker Engine v20.10.0
ocr-transform v0.4.0
The text was updated successfully, but these errors were encountered:
[Thu May 13 10:41:22 2021] 172.17.0.1:63222 Accepted
[Thu May 13 10:41:23 2021] PHP Warning: POST Content-Length of 14446932 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
[Thu May 13 10:41:23 2021] 172.17.0.1:63222 [400]: POST /ocr-fileformat.php?do=transform&from=abbyy&to=page
[Thu May 13 10:41:23 2021] 172.17.0.1:63222 Closing
Seems like you need to increase the file size limit for PHP or, if you don't want to do that, provide an more informative error message.
kba
added a commit
to kba/ocr-schemas
that referenced
this issue
May 14, 2021
I am running the Web service in a Docker container. When trying to upload and process a file, I am getting the following Error: Must be either POST with file field 'file' or GET with param 'url'.
Environment:
The text was updated successfully, but these errors were encountered: