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]
108 questions
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…
![](../../users/profiles/13450559.webp)
Gabrijel Batista
- 51
- 7
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…
![](../../users/profiles/14285899.webp)
Nimil George
- 11
- 1
1
vote
1 answer
Payload Too Large in Strapi
I have Strapi running behind an NGINX server and I POST requests that are around 200Ko. (I POST the HTML source code of a page in the data field of an "HTML Pages" Content Type). I keep getting the 413 Error - Payload Too Large from Strapi.
I have…
![](../../users/profiles/12332959.webp)
Kévin HERRERO
- 109
- 4
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 =…
![](../../users/profiles/13570461.webp)
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
2 answers
how to handle lambda error from the API gateway
Using AWS I have set up a Lambda function using Python to act as a proxy. From the API Gateway I have linked the lambda (with 'Use Lambda Proxy integration' checkbox selected) to my API Gateway. Everything is working fine except that the max size of…
![](../../users/profiles/6106289.webp)
skyleguy
- 499
- 2
- 6
- 27
1
vote
3 answers
413 request entity too large - Web API
I'm running into a 413 issue while trying to send data from my web application (.netfx 4.6.1) to my web api (.net core 3.1). In the code below, I send a list over containing byte data of images along with additional data needed to build a file. …
![](../../users/profiles/5904879.webp)
DrivenTooFar
- 60
- 1
- 11
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…
![](../../users/profiles/12572283.webp)
Matt
- 45
- 5
1
vote
1 answer
Why does happen "request entity too large" error?
"nginx 413 request entity too large"
I didn`t solve this problem.
Please let me know this problem if you know this.
Thank you :)
![](../../users/profiles/9350157.webp)
Dev_ChangGeun
- 13
- 4
1
vote
0 answers
Is it allowed to return 413 Payload Too Large if decompressed payload is too large?
In a web application, I would like to return a status code to indicate if the sent body is too large. Specifically I want to do this in the code that protects against gzip bombs.
With gzip bombs it's common to abort extracting of the incoming gzip…
![](../../users/profiles/149868.webp)
Thomas Watson
- 5,967
- 4
- 30
- 41
1
vote
1 answer
WCF Service 413 no matter which config item I change
I have been trying to figure this out for days, to no avail. This happens both when I try to debug in Visual Studio using IIS Express and with my production web site deployed to a machine running IIS 7.5.
I have called the service from a Visual…
![](../../users/profiles/9534950.webp)
Lenny Smith
- 13
- 3
1
vote
1 answer
Error 413 with POSTing large string
I'm trying to upload images using the FileReader API, and writing the data URL from the FileReader.readAsDataURL() method to a file using PHP on the server side.
The method works with smaller images (not sure exactly how small, but < 1MB is…
![](../../users/profiles/4633197.webp)
Yaakov Ainspan
- 3,598
- 3
- 23
- 45
1
vote
1 answer
413 Request Entity Too Large For HttpClient
Once i send the HttpClient request through the PostAsJsonAsync i get the response as Request Entity too large. but i can directly call to webapi and send the request and returns a successfull response. but through the PostAsJsonAsync it returns the…
![](../../users/profiles/1977095.webp)
Fiham Zuher
- 33
- 1
- 13
1
vote
1 answer
jenkins upload file to artifactory failed, I got 413 error
Error Log:
For pattern: EMB5216_DO/DEVELOPER/SCTF/OUT/* 23 artifacts were found.
17:32:52 Deploying artifact:http://192.168.5.2:9081/artifactory/LTEV5/SCTF/232/sctf_usdpaa_eth.so
17:32:52 Deploying…
![](../../users/profiles/8409361.webp)
Ling
- 15
- 1
- 6
1
vote
0 answers
error 413 request entity too large godaddy server while uploading large image
I have added this one in php5.ini file but this does not solved my problem-
post_max_size = 750M upload_max_filesize = 750M max_execution_time =
5000 max_input_time = 5000 memory_limit = 1000M
I found one more suggestion in htaccess but not…
![](../../users/profiles/5137777.webp)
Chirag Jain
- 580
- 7
- 21