# 413 Request Entity Too Large

**URL:** <https://discourse.nodered.org/t/413-request-entity-too-large/100597>\
**Category:** General\
**Created:** [18 March 2026 23:02 UTC](https://discourse.nodered.org/t/413-request-entity-too-large/100597 "2026-03-18T23:02:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tfuchs1987](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tfuchs1987/32/44508_2.png) [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Post date:** [18 March 2026 23:02 UTC](https://discourse.nodered.org/t/413-request-entity-too-large/100597/1 "2026-03-18T23:02:39Z")

</div>

On my Windows machine (Edge), I never run into any issues when deploying changes to my flows. However, on my Linux [Tuxedo OS, ubuntu-based, KDE Plasma Desktop] (Firefox and Brave), I consistently encounter the following error. It worked at first after installing the browsers but it wont let me deploy even a minor change anymore.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6a60123734ff001f9c9e5514b6cd250663510b62.png)

I tried `apiMaxLength: '50mb',` in settings.js but the problem persists

Just upgraded to v4.1.7 but Brave still displays this error while Firefox works somehow - not sure for how long ...

Thank you in advance for any hints regarding this issue

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 March 2026 10:23 UTC](https://discourse.nodered.org/t/413-request-entity-too-large/100597/2 "2026-03-19T10:23:07Z")

</div>

What size is the flows file?

Did you restart node-red after editing settings.js?

Copy/paste an extract of the settings file where you have made the change, and tell us which folder the settings file resides in.

---

<div class="post-metadata">

**Author:** ![tfuchs1987](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tfuchs1987/32/44508_2.png) [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Post date:** [19 March 2026 13:19 UTC](https://discourse.nodered.org/t/413-request-entity-too-large/100597/3 "2026-03-19T13:19:48Z")

</div>

Thank you Colin, while editing my settings.js for public sharing I remembered that I configured a reverse proxy and it worked for my purposes but apparently not if I try to edit flows

nginx reverse proxy settings in /etc/nginx/sites-available/default had to be adjusted as well by adding `client_max_body_size 50M;` to the location block.

Maybe a little bit too much for my 1.1M flow file 😅

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 April 2026 13:20 UTC](https://discourse.nodered.org/t/413-request-entity-too-large/100597/4 "2026-04-02T13:20:19Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
