413 Payload Too Large

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 22.2.3
Operating system and version (eg, Ubuntu 20.04): debian 10
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.38 behind nginx reverse proxy
PHP version (eg, 7.4): 7.3.31-1

The issue you are facing:

Is this the first time you’ve seen this error? Y:

Steps to replicate it:

  1. Run sync on linux Nextcloud Desktop Client. Seems like any file over 1MB fails with a “413 Payload Too Large” error. I am able to upload larger files via the browser inteface and via the mobile app. This only seems to happen with the Desktop client.

The DNS for this server is hosted by CloudFlare and uses the proxy option. On the server, Nextcloud sits behind an NGINX reverse proxy. We did disable the Cloudflare proxy to see if this was the cause, but that did not make a diffence.

Hi @mbartho

I am facing a similar issue, see here:

Did you manage to solve it?
Thank you!