Questions tagged [http-status-code-413]

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.

142 questions
41
votes
3 answers

413 Request Entity Too Large nginx django

I am making a practice web service (client's artbook display web site) The client can upload artbook images to the server. But I get the following error when the client uploads too many images 413 Request Entity Too Large I tried adding…
Jade Han
  • 1,185
  • 5
  • 15
  • 36
12
votes
3 answers

413 Payload Too Large on Django server

My team has been getting 413 errors whenever we try and upload large files to our Django back-end: 413 Payload too large We can't exactly pin down the maximum acceptable file size - it seems to vacillate in the 1-3MB range. Things we have…
NattyP
  • 163
  • 1
  • 7
12
votes
2 answers

413 - Request Entity Too Large IIS and SSL

I get this error, the moment when I try to send a very large POST call to an Asp.net Web API over SSL. I am aware of the fenomenon of renegotiation. My uploadReadAheadSize is set to the max. (2147483647) Can anybody tell me some options I should…
HansElsen
  • 1,639
  • 5
  • 27
  • 47
9
votes
2 answers

Why browsers display CORS error in case of response 413?

I was testing an REST Api that uploads image file to server. The image was too large and exceeded max request body size, so Nginx refused it and returned response 413(Request Entity Too Large). Nginx: error.log *329 client intended to send too…
kimchoky
  • 162
  • 1
  • 10
9
votes
1 answer

Flask file upload limit

I have a file upload handler for multiple file uploads, and have set the MAX_CONTENT_SIZE. The docs mention that Flask throws a 413 exception when the total file size exceeds the limit, so I've also written a 413 error handler with a custom 413…
rottentomato56
  • 1,059
  • 3
  • 13
  • 18
8
votes
1 answer

Nginx giving out a 413 Request entity too large

I have a Django app serving React static files powered by Nginx running in Docker containers. As I'm trying to upload some larger files via my web app I keep receiving 413 Request entity too large from Nginx directly Here is my Nginx config / #…
Mislav
  • 391
  • 5
  • 17
8
votes
3 answers

I get 413 Request Entity Too Large when uploading video file to Amazon S3

While uploading a video file to Amazon S3, the file hits 100% in uploading, then i get the response 413 Request Entity Too Large. How do i fix this so that i can upload video files to Amazon S3? Im using Nodejs, Express, Heroku, Cloudflare and…
7
votes
3 answers

(413) Request Entity Too Large

I have WCF service, and I have a method when I want to pass parameter as big string (over 1mb) I run this wcf and in WCF Test Client I changed configuration as is shown below:
Robert
  • 2,571
  • 10
  • 63
  • 95
7
votes
1 answer

Getting error 413 Request Entity Too Large when using SSL, after a few minutes of inactivity

This past Monday we pushed out a new ASP.NET website to our production server for use by the public. One section of the site provides a wizard type interface, each step requesting a fairly small amount of input from the user. Each step of the wizard…
user1919569
  • 73
  • 1
  • 3
6
votes
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. …
6
votes
1 answer

Handling 413 (Request Entity Too Large) error with try/catch

I am trying to figure out how to handle 413 error when uploading files, to show the user that the file they are trying to upload is too large. I am uploading the files from a component in React using React-dropzone, then pass it to sagas, then a…
Carl V.
  • 73
  • 1
  • 7
6
votes
1 answer

cloudfront responds with a status of 413 (Request Entity Too Large)

We have a requirement to send large data as part of URL which will be read by angular to render the page. Url is of more than 10000 characters. But cloudfront is returning below error - Bad request. Generated by cloudfront (CloudFront) Request…
5
votes
0 answers

Hotjar returns 413 Request Entity Too Large

I'm using react-use-hotjar and I can see from adding logging call backs that hotjar is successfully initialising with the correct site id and identifyHotjar calls are working also. However, no recordings are showing up in the hotjar dashboard. In…
sauntimo
  • 1,531
  • 1
  • 17
  • 28
5
votes
3 answers

Error 413 payload too large when upload image

I'm trying to upload an image from local by using base64 to do image detection. And everything works fine in localhost and postman. But after deploying, I got CROS error. I've already got cors middleware in server.js const express =…
user13145792
  • 241
  • 1
  • 2
  • 8
5
votes
3 answers

How to increase the max http request size limit for HTTP triggers in Cloud Functions

I'm trying to invoke a google cloud function sending images larger than 50Mb. The purpose of the cloud function is to resize the images and upload them to google cloud storage. However, when I send the HTTP post to my cloud function I get the…
1
2 3
9 10