Error "413 Unable to serve request because the request payload is too large."


Description

While trying to change the assigned to, state or add worknotes/additional comments,error "413 Unable to serve request because the request payload is too large."

Cause

This is happening due to the huge data or payload that is being sent from the description field of the catalog task.

When adding content larger than 2 MB into a form, the error can occur.

Apache Tomcat by default sets a limit of 2MB on the maximum size of HTTP POST requests it accepts

When we reduced the size of data we are sending in the description field we were able to update the task.

Resolution


Incase the description is too large we would recommend it to attach it as an attachment to the record instead of pasting in description field to avoid encountering similar issues in future.