# Error, "413 Request Entity Too Large" When Uploading

**URL:** <https://community.sonatype.com/t/error-413-request-entity-too-large-when-uploading/11366>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository\
**Created:** [September 27, 2023, 6:45pm UTC](https://community.sonatype.com/t/error-413-request-entity-too-large-when-uploading/11366 "2023-09-27T18:45:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chang\_park](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@chang\_park](https://community.sonatype.com/u/chang_park)\
**Post date:** [September 27, 2023, 6:45pm UTC](https://community.sonatype.com/t/error-413-request-entity-too-large-when-uploading/11366/1 "2023-09-27T18:45:59Z")

</div>

When I tried to upload using curl command, I failed with the following error message.

curl 7.79.1 (Windows) libcurl/7.79.1 Schannel  
Release-Date: 2021-09-22  
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp  
Features: AsynchDNS HSTS IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI UnixSockets

413 Request Entity Too Large
# Request Entity Too Large
The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

Additionally, a 301 Moved Permanently error was encountered while trying to use an ErrorDocument to handle the request.

We are using apache reverse proxy, and what should I do to resolve this issue?

Thanks,  
Chang

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [September 28, 2023, 1:46pm UTC](https://community.sonatype.com/t/error-413-request-entity-too-large-when-uploading/11366/2 "2023-09-28T13:46:51Z")

</div>

You’ll need to update your Apache configuration as Nexus does not limit upload sizes.
