-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File uploading limitation #1702
Comments
It sounds like we need to do some re-architecting to support uploading larger file sizes, I don't think I tested with such large files, and we weren't sure what users would expect to upload. I'll tackle this when I can, but the next few weeks are a bit busy, so if others take this on, PRs welcome. |
Hi @pamelafox, has any changes been done to support uploading larger files? Are there any workarounds to the limitations of the data ingestion? |
bump @pamelafox! I have tried to manually hardcode the max file size in the code, but am getting issues with the timeouts. I have tried changing the timeout settings in the code and also using azure application gateway but it seems to not be working. Any other ideas? |
I was able to fix this by just adding the code line at my app.py file. I've tested it with 5MB limit and now scaled up to 20MB. Both is working like a charm. This should fix the problem of User file upload limits. def create_app(): |
Go to app> backend> app.py (u can set the size by of your choice by changing the 20 input) |
Trying to upload two PDFs individually, one around 50MB (scanned), the other 70MB(non-scanned), but got "Error uploading file - please try again or contact admin".
--> Already modified max_single_put_size=100 * 1024 * 1024,
--> Document intelligence limit of standard plan is 500MB,
--> Smaller size PDF beyond 30 pages was fine,
--> Chrome Developer tool Status Code: 413 Payload Too Large
Please help to check, thanks.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Click upload button and select the file to upload.
Any log messages given by the failure
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: