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
0
votes
1 answer
Uvicorn + Quart yielding error 413 on post request
I'm trying to setup a simple http server to receive ( potentially large ) JSON objects.
from quart import Quart, request
import uvicorn
app = Quart(__name__)
@app.route( '/' , methods=[ 'POST' ] )
async def hello():
json = await request.json
…

Sam Coutteau
- 111
- 5
0
votes
2 answers
AWS Elasticbean stalk asp.net deployment file upload fails with “413 request entity too large”
I tried multiple solutions
I tried to add a .conf file with
client_max_body_size 100M;
to my root application .ebextensions/nginx/conf.d/proxy.conf but when deploying this to live it give me error
1/18/2023 11:59:22 AM …

muh.rafay
- 21
- 4
0
votes
0 answers
Error: 413 Request Entity Too Large using Vue storefront
When i am send the image more than (100kb) in post request it gave me the error of 413 status code
I tried to increase the size of payload but didn't work and the request didn't come to backend so there is nothing to do in backend

Mayank Gupta
- 153
- 5
0
votes
1 answer
Getting Error 413 on HttpWebRequest for Microsoft GRAPH API
Using C# WPF to send pre-generated emails w/attachments via the GRAPH API. We've been successful when sending emails before with an attachment that is about 100kb, but upon expanding our capabilities to three attachments we're getting Error 413…

cWilson
- 25
- 5
0
votes
0 answers
cube.js API load endpoint responds with 413
When calling the load endpoint with a query > ~1700 bytes, we are receiving a 413 (request entity too large) error. We have narrowed it down to between 1706 and 1758.
Steps to reproduce the behavior:
post large query to…

Dan Fitzpatrick
- 11
- 3
0
votes
0 answers
413 error when I add image to post request
want to add a user to MongoDB with a profile picture as base64, username, and password but when I send the request with username and password it works because I don't require a profile picture but when I send it with the picture the problem below…

Ibrahim Yahyaoui
- 31
- 5
0
votes
1 answer
"An error occurred whilst communicating with the server" or "Error connecting to the server" Moodle 3.7
I am getting "An error occurred whilst communicating with the server" or "Error connecting to the server" on a Moodle 3.7 site when I try to upload audio or video files. May be becuase the error shows up in a pop up message no debug messages are…

guitarlass
- 1,587
- 7
- 21
- 45
0
votes
0 answers
Changing default value of client_max_body_size in dockerized nginx container is not reflected while uploading file > 1MB with 413 Entity Too Large err
Hope someone can help me with the error I could not resolve.
Scenario:
Changing default upload limit 1MB by using client_max_body_size 10m; works without any problem while uploading file without using docker container. But when using it with…

Anil-shrestha
- 41
- 3
0
votes
1 answer
Generic Flask Error Handler for HTTP Status Code 413
I'm writing an error handler for the RequestEntityTooLarge exception in Flask such that the exception can be caught when it's raised in any views. I'd like to handle the exception by flashing a message on top of the page where it's raised.
Below is…

liyche
- 21
- 4
0
votes
0 answers
Getting PayloadTooLargeError and Cors error simultaneously while sending a large file data through post request from client to server
I am working on a project which has an upload file feature. The text data from this file is to be send to the backend Node js server through axios post request and then uploaded to the database.
While using a smaller file (around 4 kb), it is…

Saksham Arya
- 47
- 6
0
votes
1 answer
request entity too large error when using oas3-tools package,openapi 3.0 in node.js
index.js file
'use strict';
var path = require('path');
var http = require('http');
var cors = require('cors');
var oas3Tools = require('oas3-tools');
require("dotenv").config({ path: ".env" });
console.log(`### Running on…

susindhiran
- 1
- 1
0
votes
1 answer
.Net Core 2.1 Error 413 on multipart/form-data POST only on IIS not IIS Express
I'm hitting a problem with multipart/form-data POST uploads on IIS. My client is an Angular SPA and my backend is on .Net Core 2.1 (I know it's old).
The backend project is published as Self-Contained win-x64. I'm not sure how it's configured…

GeofoxCoding
- 285
- 1
- 9
0
votes
1 answer
Getting HTTP 413 error specifically when git pushing to Microsoft Azure
I asked this on a Microsoft forum, and the answer said I should ask it on this other Microsoft forum. That forum said I should ask the automated MS thing or come here. In short, I don't expect MS to help me with this. Anyway...
I'm in process of…

Luke in IT
- 11
- 1
0
votes
1 answer
Getting 413 Payload too large then 500 System.ServiceModel.ServiceActivationException when i increase maxReceivedMessage in my WCF sharepoint app
I developed a wcf webservice in a sharepoint 2016 on premise environment.
When I try to upload a long body I used to get a 413 payload too large error so I changed my app.config to this:
…

Ali Haddani
- 21
- 3
0
votes
0 answers
How to minimize size of file sent to AWS Lambda
CURRENTLY
I have a 3MB image file that I would like to send to AWS Lambda (via API gateway) from Google Apps Script so the file can be processed.
My Lambda API Gateway Request:
let bytes = file.getBlob().getBytes();
console.log("Byte…

Wronski
- 1,506
- 3
- 18
- 37