Increase maximum POST size for Amazon API Gateway

10,974

There is currently no way to increase this limit.

Additionally, API Gateway is not currently optimized to support binary transfer to S3. This is a request we have heard from other customers and we may add support for this in the future.

Update 2017-02-19: While there is still no way to increase payload size limits, API Gateway does now support binary data.

Share:
10,974

Related videos on Youtube

Senin
Author by

Senin

Updated on September 14, 2022

Comments

  • Senin
    Senin over 1 year

    I intend to use AWS API Gateway & Lambda to perform a file upload to S3, via POST from a HTML form. However, the API Gateway endpoint will fail if the file is big enough, with message [HTTP content length exceeded 10485760 bytes.].

    Do you happen to know any way to increase this limit?

    It is the same irrespective if the API method hides a Lambda function or is simply a mock method.

  • Adrian Ivan
    Adrian Ivan almost 8 years
    any changes since you posted the answer on fronting S3 with API Gateway?
  • Bob Kinney
    Bob Kinney almost 8 years
    @AdrianIvan Unfortunately no change on this.
  • Mojimi
    Mojimi over 4 years
    You can use websockets from api gateway and stream data, alternatively generate a presigned url from s3 and upload using it.
  • Mojimi
    Mojimi over 4 years
    You can generate a presigned s3 url to upload it. And use lambda with S3 events to execute something based on the file