# Large data uploading issue

**URL:** <https://datashield.discourse.group/t/large-data-uploading-issue/287>\
**Category:** Analyst Support\
**Created:** [28 October 2020 10:43 UTC](https://datashield.discourse.group/t/large-data-uploading-issue/287 "2020-10-28T10:43:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HankCao](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Post date:** [28 October 2020 10:43 UTC](https://datashield.discourse.group/t/large-data-uploading-issue/287/1 "2020-10-28T10:43:24Z")

</div>

Dear all,

We meet the following error when uploading a 30 megabyte file to a remote server (opal 3.0.3). However, this file can be uploaded into the VM (opal 2.1.6) without problem. So I thought it was the configuration issue. Does any have information?

```
 opal.file_upload(opals[[3]], "Data/omics/X3.csv", "/projects/classify/")
Error: Client error: (413) Request Entity Too Large

```

Regards, Hank

---

<div class="post-metadata">

**Author:** ![yannick](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/yannick/32/19_2.png) [@yannick](https://datashield.discourse.group/u/yannick)\
**Post date:** [28 October 2020 11:46 UTC](https://datashield.discourse.group/t/large-data-uploading-issue/287/2 "2020-10-28T11:46:35Z")

</div>

Hi,

In Opal there is a setting for that: [org.obiba.opal.maxFormContentSize](http://opaldoc.obiba.org/en/latest/admin/configuration.html#miscelaneous-configuration).

Is there a proxy between the script and the opal server ? If yes, verify also that error is not coming from the proxy settings.

Regards Yannick

---

<div class="post-metadata">

**Author:** ![HankCao](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Post date:** [28 October 2020 13:45 UTC](https://datashield.discourse.group/t/large-data-uploading-issue/287/3 "2020-10-28T13:45:37Z")

</div>

Hi Yannick,

Thanks, we solved this.

Regards, Hank

---

<div class="post-metadata">

**Author:** ![gospelON](https://avatars.discourse-cdn.com/v4/letter/g/6de8d8/32.png) [@gospelON](https://datashield.discourse.group/u/gospelON)\
**Post date:** [26 August 2024 10:21 UTC](https://datashield.discourse.group/t/large-data-uploading-issue/287/4 "2024-08-26T10:21:43Z")

</div>

Currently, we can only upload files smaller than 2MB to the Opal server. We adjusted the parameters and followed the instructions provided in [Opal properties file](https://opaldoc.obiba.org/en/latest/admin/configuration.html#miscelaneous-configuration), the changes did not take effect after restarting the server. Could you suggest a potential solution to this issue?
