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
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…
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…
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…
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…
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…
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…
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…
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…
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 =…
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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/android" class="post-tag grid--cell" title="show questions tagged 'android'" rel="tag">android</a> <a href="../../questions/tagged/retrofit2" class="post-tag grid--cell" title="show questions tagged 'retrofit2'" rel="tag">retrofit2</a> <a href="../../questions/tagged/okhttp" class="post-tag grid--cell" title="show questions tagged 'okhttp'" rel="tag">okhttp</a> <a href="../../questions/tagged/http-status-code-413" class="post-tag grid--cell" title="show questions tagged 'http-status-code-413'" rel="tag">http-status-code-413</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card__deleted"> <time class="s-user-card--time" datetime="asked Apr 23 '20 at 17:24">asked Apr 23 '20 at 17:24</time> <div class="s-avatar s-avatar__32 s-user-card--avatar"> </div> <div class="s-user-card--info">user13099191</div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59429640"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59429640/how-do-i-make-google-cloud-functions-accept-post-requests-larger-than-10kb" class="question-hyperlink">How do I make Google Cloud Functions accept POST requests larger than 10KB?</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/http" class="post-tag grid--cell" title="show questions tagged 'http'" rel="tag">http</a> <a href="../../questions/tagged/post" class="post-tag grid--cell" title="show questions tagged 'post'" rel="tag">post</a> <a href="../../questions/tagged/google-cloud-functions" class="post-tag grid--cell" title="show questions tagged 'google-cloud-functions'" rel="tag">google-cloud-functions</a> <a href="../../questions/tagged/http-status-code-413" class="post-tag grid--cell" title="show questions tagged 'http-status-code-413'" rel="tag">http-status-code-413</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 20 '19 at 18:06">asked Dec 20 '19 at 18:06</time> <a href="../../users/12572283/matt" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12572283.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Matt" /> </a> <div class="s-user-card--info"> <a href="../../users/12572283/matt" class="s-user-card--link">Matt</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">65</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="6 bronze badges">6</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-58823237"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/58823237/413-request-entity-too-large-using-python-and-postcodes-io-api" class="question-hyperlink">413 'Request Entity Too Large' using Python and postcodes.io API</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/api" class="post-tag grid--cell" title="show questions tagged 'api'" rel="tag">api</a> <a href="../../questions/tagged/docker" class="post-tag grid--cell" title="show questions tagged 'docker'" rel="tag">docker</a> <a href="../../questions/tagged/http-post" class="post-tag grid--cell" title="show questions tagged 'http-post'" rel="tag">http-post</a> <a href="../../questions/tagged/http-status-code-413" class="post-tag grid--cell" title="show questions tagged 'http-status-code-413'" rel="tag">http-status-code-413</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 12 '19 at 16:52">asked Nov 12 '19 at 16:52</time> <a href="../../users/12216259/ege" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12216259.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ege" /> </a> <div class="s-user-card--info"> <a href="../../users/12216259/ege" class="s-user-card--link">Ege</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">515</li> <li class="s-award-bling s-award-bling__silver" title="5 silver badges">5</li> <li class="s-award-bling s-award-bling__bronze" title="14 bronze badges">14</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/http-status-code-413_page=3" rel="prev" title="Go to page 3">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/http-status-code-413_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/http-status-code-413_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/http-status-code-413_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/http-status-code-413_page=9" rel="" title="Go to page 9">9</a> <a class="s-pagination--item" href="../../questions/tagged/http-status-code-413_page=10" rel="" title="Go to page 10">10</a> <a class="s-pagination--item" href="../../questions/tagged/http-status-code-413_page=5" rel="next" title="Go to page 5"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>