Legacy Knowledge Base
Published Jul. 2, 2025

413 Request Entity Too Large

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • Whenever a user is trying to upload a file/document in Document & Media portlet, the error "HTTP response 413 and Request Entity Too Large message" is thrown.

Environment

  • Liferay DXP 7.2

Resolution

  • This error usually occurs when a request made from a client is too large to be processed by the webserver. If your webserver is setting a particular HTTP request size limit, users may come across a 413 request entity too large response.
  • This issue will be resolved by adjusting the file size limit in the web server or application server.
  • Also, need any further assistance in setting the configurations, we have a channel called "Global Service Team" that works primarily in custom development and implementations.

Additional Information

Please note: The below articles are not an official documentation of Liferay.  Please exercise appropriate discretion in the use of this information to choose to follow it. 

Did this article resolve your issue ?

Legacy Knowledge Base