# Error 414 when posting/updating via API

**URL:** <https://meta.discourse.org/t/error-414-when-posting-updating-via-api/98186>\
**Category:** Self-hosting\
**Created:** [27.Сентябрь.2018 09:30:47 UTC](https://meta.discourse.org/t/error-414-when-posting-updating-via-api/98186 "2018-09-27T09:30:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![marcozambi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcozambi/32/119505_2.png) [@marcozambi](https://meta.discourse.org/u/marcozambi)\
**Post date:** [27.Сентябрь.2018 09:30:47 UTC](https://meta.discourse.org/t/error-414-when-posting-updating-via-api/98186/1 "2018-09-27T09:30:47Z")

</div>

Hello everybody!  
When trying to post or update a message whose content exceeds a certain size (the exact size I cannot detemine yet - is there a way to check this?) NGINX refuses to accept the POST or PUT requests and returns Error 414.  
Is there a way to change (permanently) the default configuration delivered with the Discourse image, so that a larger payload size (at least matching the default 32000 characters in the admin settings) is accepted via API?

---

_[View the full topic](https://meta.discourse.org/t/error-414-when-posting-updating-via-api/98186)._
