HI
I am trying to batch submit some individual .JPGs using a python script. For each I get this error
Error processing IMG_8099.JPG: 413 Client Error: Request Entity Too Large for url: https://detect.roboflow.com/…
each file is 1.2MB
Is there some limitation on file size using this model submission method? Is there a way around this for me?
Thanks
Guy
I can see a previous post on the forum also mentioned this error, but it was not resolved.
Hi Guy,
I have done some digging and was able to find some answers. The issue could potentially be the dimension of the images. You could use the image param and send a URL if the images are already hosted elsewhere (such as S3).
For further debugging, would you mind providing the images that are inducing the error?
I’m going to check with the team to get a definitive answer on the file size and resolution limits.
Thank you for the report. 1.2MB images should not be a problem in terms of size. It would be really helpful for us to try to reproduce this issue on our end.
A couple of asks:
Besides providing us the image that is generating the 413 errors, could you also send us a simple python script, like the one you’re using to call the API, to try to reproduce this issue? Please redact any API keys before posting.
Are you calling this endpoint on a universe model or a model on your workspace? If you’re using a private model, could you point us to the project and also allow us to add ourselves to the workspace to speed up the troubleshoot?