The 413 or 'Request entity too large' status code means the server is refusing to process a request because the request entity is larger than the server is willing or able to process.
Questions tagged [http-status-code-413]
142 questions
1
vote
0 answers
NGINX max upload has no effect
I'm using nginx proxy docker for my django project but
I'm getting 413 Request Entity Too Large when uploading images more than about 3MB.
I put client_max_body_size 1024M; in htttp, server and location in nginx.conf and default.conf but it…

Nozhan
- 58
- 7
1
vote
0 answers
413 Request Entity Too Large -Gravitee
Registered a Java Rest api with gravitee. This api is for uploading the images to a minio bucket. I am getting the error:
413 Request Entity Too Large
I have already tried:
Add "Request Content Limit" policy. This is not helping
In general settings…

Sudheendra Deshpande
- 11
- 1
1
vote
1 answer
How would I intercept the 413 error thrown by Express when the body of a request is too large?
If a user makes a request to my API with a payload that is too large, I would like to intercept the error thrown by the server and handle it myself in order to send a more detailed JSON response to the client.
I am using the Express JSON Parser with…

Arcanist
- 46
- 6
1
vote
0 answers
Google Gen2 cloud function throws 413 Request Entity Too Large error
I'm trying to upload a file to GCS using cloud function. Api gateway is used to invoke it (POST).
The file size may vary but they are less than 32MB.
When I try to upload a file with size 10MB or above (less than 32MB), it is giving an error as 413…

Jithin Joseph
- 143
- 3
- 12
1
vote
3 answers
IIS Server : Received error code 413 when posting large data in the request
I hosted WebAPI on the IIS which is written in laravel. I have one request size of 60 MB. I am trying to send this data to the server but receiving 413 errors - "Request Entity Too Large".
I updated php.ini and set the below…

kreya
- 1,091
- 5
- 24
- 52
1
vote
0 answers
413 error in creating feature-group in AWS Feature Store
This page says the number of feature_definitions can be 2500 per feature group. Also I followed all the constraints including feature_definition constraint of length of names less than 64.
When creating a feature group with 2100 features via the…

redb17
- 143
- 1
- 14
1
vote
0 answers
What is a upper limit of the HTTP request in Cloud Function
I have read in GCP Cloud Function documentation that, max uncompressed HTTP request size should not be more than 10MB to HTTP Cloud Functions. But, when we are passing merely 200 KB JSON as an input which is consist of an image encoded in base-64…

Bhumil Depani
- 11
- 1
1
vote
1 answer
413 entity too large, nginx nodejs on elastic beanstalk
Using AWS Elastic Beanstalk, node: 12.13.1.
I am making put/post requests with images bigger than 1mb, and edited config files different ways to accept 10m files.
No matter the solution I tried, the server keeps rejecting requests with the same 413…

pfx
- 11
- 3
1
vote
1 answer
Why am I getting Request Entity Too Large WITHOUT file?
I am making a GET request and I am appending 40 strings to a query parameter. And each string is 100 chars long.
Why would I be Request Entity Too Large error even though there is no file involved? Also, if I understood the limitations of a query…

Faraz
- 6,025
- 5
- 31
- 88
1
vote
0 answers
I'm getting error 413 (request entity too large) when trying to post image using ajax, LARAVEL
I'm generating image with html2canvas and I want to save it on server. When I try to do that I get error 413 Request entity too large in console and image is not saved. Everything works on localhost but not on live server.
I have googled how to…

Gabrijel Batista
- 51
- 8
1
vote
1 answer
Request entity too large error on Kubernetes environment only
I am working with a 3D simulator web site and it has options to import model as zip files. I was able to import upto 70MB of zip files into my development and production environments. But recently it was migrated to kubernetes using nginx reverse…

Nimil George
- 11
- 2
1
vote
1 answer
Response 413 - Python requests trying POST .png file
I'm using python requests to do a simple post and I need to send a .png image.
...
headers ={'User-Agent':'Mozilla/5.0 , ...}
url = "http://example_url/xxx"
files = {'image': open('a.png', 'rb')}
response =…

Daniele Votta
- 11
- 1
1
vote
2 answers
How to send large file image via retrofit which is already working in Postman and there is no limit for nginx server?
I successfully created one demo to upload image via API. If I select mobile screenshot, it is happily working. but If I choose large file then it's not working and the exception is: 413
onResponse: [size=208 text=\r\n413 Request…
user13099191
1
vote
1 answer
How do I make Google Cloud Functions accept POST requests larger than 10KB?
I have created a small Python program accepting HTTP triggers and uploaded it to Google Cloud Functions. It works fine when I make a POST request whose body is less than 10KB.
However, when I exceed this value, the function fails to work and…

Matt
- 65
- 1
- 6
1
vote
2 answers
413 'Request Entity Too Large' using Python and postcodes.io API
I have a huge array of postcodes and I want to use "postCodes.io" API which gives the longtitude and altitude data for given postCode in python.
When I request only for 3-4 postCodes It doesnt give an error but when I want for a huge amount of data…

Ege
- 515
- 5
- 14