# How to solve - PayloadTooLargeError

**URL:** <https://discourse.nodered.org/t/how-to-solve-payloadtoolargeerror/78295>\
**Category:** General\
**Created:** [9 May 2023 08:37 UTC](https://discourse.nodered.org/t/how-to-solve-payloadtoolargeerror/78295 "2023-05-09T08:37:43Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [9 May 2023 10:30 UTC](https://discourse.nodered.org/t/how-to-solve-payloadtoolargeerror/78295/9 "2023-05-09T10:30:50Z")

</div>

It is always worth searching the forum when you get such problems, particularly when you can search for an unusual string such as payloadtoolargeerror.  
This may be helpful. If not then look at the other hits in the search.

> [@PayloadTooLargeError at deploy](https://discourse.nodered.org/t/payloadtoolargeerror-at-deploy/67053):
>
> This error is clearly related to the size of the flows within the instance since I can reduce the size of the flow file (by removing a node or 2 from the flow). I've attached a screen shot of the error. [PayloadTooLargeError] The post seems to refer nicely: The answer is to increase the limit in express, however no matter what I've tried setting httpServerOptions has no effect. I do note that express.json and express.urlencoded are methods Is anyone able to provide the correct syntax to se…

---

_[View the full topic](https://discourse.nodered.org/t/how-to-solve-payloadtoolargeerror/78295)._
