How to Fix 413 Request Entity Too Large Error

In this tutorial, we will show how to fix the 413 Request Entity Too Large error using the Cloudways Platform.

Emmad avatar
Written by Emmad
Updated over a week ago

Table of Contents

The 413 Request Entity Too Large error occurs when you try to upload or make a client request that is too large to be processed by the web server. It also indicates that the web server is configured to restrict large file sizes.

At Cloudways, Nginx is the upstream web server and sets the HTTP request size. By default, the size of the client request body in Nginx is set to 10 MB. If the request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Therefore, we need to tweak the web server settings to allow larger client requests.

In this tutorial, we will show how to fix the 413 Request Entity Too Large error using the Cloudways Platform.

How to Fix 413 Request Entity Too Large Error

Step #1 — Navigate to Server Settings

Log in to your Cloudways Platform using your email address and password.

  1. From the top menu bar, open Servers.

  2. Then, choose your desired server.

    Classic Interface

    New Interface

  3. Under Server Management, select Settings & Packages.

    Classic Interface

    New Interface

Step #2 — Modifying Upload Size

  1. Modify the Upload Size value (in Megabytes) to your preference.

  2. Finally, click Save Changes.

    Tip

    If the file size you want to allow is greater than what we have set, adjust the Upload Size to be greater than the file size.

    Classic Interface

    New Interface

That’s it! We hope this tutorial was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.


With Cloudways’ optimized configurations and proactive server management, you can get rid errors like 413 error for good. Choose our WordPress hosting server and experice a seamless managed hosting environment.

Did this answer your question?