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
0
votes
1 answer

413 Error: Payload Too Large - IIS - Windows Server 2016

I'm getting the http response code 413 when I try to upload a large file (>30mb) with an Asp.Net core mvc controller deployen on a windows server 2016. The web service is running on IIS ("In process"). The controller looks…
0
votes
0 answers

C# HTTP Error 413.1 - Request Entity Too Large - unable to gracefully handle this error

HTTP Error 413.1 - Request Entity Too Large The page was not displayed because the request entity is too large This is a webforms app, and I have these set in web.config:
Kershaw
  • 1,124
  • 1
  • 7
  • 18
0
votes
1 answer

HTTP Error 413.1 - Request Entity Too Large Throw error rather than increase size

So I am getting the error "HTTP Error 413.1 - Request Entity Too Large" because I am attempting to upload a very large file. When I get this error, the whole site crashes to display that error page. On every SO or online post regarding this issue,…
Forrest
  • 157
  • 14
0
votes
0 answers

PHP curl - 413 Payload too large on retrieving certain web pages

This code works fine for the majority of webpages, but I have started receiving the follow output error for certain web pages. Unexpected HTTP code: 413 payload too large I have included a webpage that produces the error in the code variable…
Gareth
  • 11
  • 1
  • 3
0
votes
1 answer

Nodejs showing 413 Payload Too Large on nginx server

I'm running this code on my Amazon AWS server without load balancer. It's a simple server I setup. I'm trying to run a code that crawls for data, written in nodejs. Currently, it's showing the error shown below when I upload a lot of data to…
Elaine Byene
  • 3,868
  • 12
  • 50
  • 96
0
votes
1 answer

CloudFront responds with 413 after AWS Cognito redirect

I have a React app built using Serverless NextJS and served behind AWS CloudFront. I am also using AWS Cognito to do authentication of our users. After a user successfully authenticates through AWS Cognito, they are redirected to my React App with a…
Hady
  • 2,597
  • 2
  • 29
  • 34
0
votes
1 answer

HTTP 413: Request too large

Using Apache 2.4 & PHP 7.4 on Ubuntu 18.04. Default Apache conf file. I'm trying to upload ~700 jpegs (totaling ~100MB, largest one being ~1MB) to a Laravel app, for a single one it works but for the larger request size I get: The server returned a…
baarkerlounger
  • 1,217
  • 8
  • 40
  • 57
0
votes
0 answers

The remote server returned an error: (413) Payload Too Large. .net WebClient

I'm trying to download a webpage. It was working previously but now I'm getting 413's specifically mentioning 'Payload too large' (unlike what seems to be the normal error message 'Request Entity Too Large') Here's the code; I've tried all sorts of…
Jimmy
  • 2,191
  • 6
  • 25
  • 45
0
votes
0 answers

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…
Kévin HERRERO
  • 229
  • 2
  • 10
0
votes
2 answers

Cross origin error when uploading a file to express server

So I use React to upload a file to my express server, doing this localy works however when I push the code to my nginx express server I keep on getting Cors errors. How would I be able to solve this problem, I currently user cors package…
swaffelay
  • 182
  • 12
0
votes
1 answer

PHP 'move_uploaded_file' getting 413 Request Entity Too Large

When trying to upload a 130mb file I get 413 Request Entity Too Large. Using Network Solutions web hosting. I've used .htaccess: LimitRequestBody 10485760000 and php.ini: memory_limit = 10000M upload_max_filesize = 10000M post_max_size = 10000M
Stephen
  • 1
  • 1
0
votes
1 answer

The page was not displayed because the request entity is too large on IE while launching the application

Can someone help me with this issue ? This issue is persistent for few users while working for others . While they are launching the application they are facing this issue on IE , windows 2008 .Error code is HTTP error code 413 . I checked the…
0
votes
1 answer

Http Error 413 requesting k8s service which does not have an ingress configuration

Inside my cluster, there is a service that returns 413 when requested via POST with a large request client body size, > 10MB. Since this service should not be reachable from outside the cluster I am wondering how to increase this setting in order to…
0
votes
1 answer

Transfer large files using WCF Service - Retrieve Error 413

I know this topic has been discused multiple times already, but unfortunately non of the provided solutions workd for me. I try to transfer large files (up to 1.5 GB) from a client console application to a WCF service. But I always get an HTTP error…
Markus H.
  • 69
  • 8
0
votes
1 answer

Best practice when returning a 413 response from REST API

My REST API occasionally needs to return a 413 'Payload too large' response. As context: I use AWS with API Gateway and Lambda. Lambda has a maximum payload of 6Mb. Sometimes - less than 0.1% of requests - the payload is greater that 6Mb and my API…
CharlesA
  • 4,260
  • 2
  • 25
  • 31