OpenClinica/enketo-express-oc

Unable to upload file larger than 10MB

Closed this issue · 7 comments

Describe the bug
We are normally able to upload files that are a little less than 100MB. Right now, we are only able to upload files that are less than 10MB

To Reproduce

  1. Access the URL of an Offline Form that contains a file upload field
  2. Select a file larger than 10MB
  3. Click Submit
  4. See error
    Upload_Error

XForm:
XForm_File_Upload.txt

Browser and OS (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

@MartijnR - This is observed with all of our form views, not just the offline view.

From the error message, it looks like this submission is refused on the OC side. But I can double-check with another server.

Don't forget to change that email address in the configuration... ;)

Afaik there is no issue on the Enketo side with files > 10Mb. Best to investigate what happens on OC side.

@Apotischman - The 413 (payload too large) error indicates the payload is too large. This would be on the OC side.

This has been corrected on the OC side.