Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

API Gateway - Too Many Requests Exception (429)

Currently, I've been receiving this error in Bitbucket.

The pipeline sequence is that

  • serverless is deployed (./node_modules/.bin/serverless deploy -s devme)
  • then run a javascript that would update the API gateway (to create API gateway models).

What could be the problem?

What are the reasons why this exception would occur?

like image 860
Steven Avatar asked Nov 29 '25 07:11

Steven


1 Answers

The 429 - Too Many Requests Exception means you are getting throttled by API Gateway. You can only make so many requests per second. Anymore than the allowed will result in the 429.

The API Gateway limits can be found here: https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html#api-gateway-limits

like image 149
Mark Mercurio Avatar answered Dec 01 '25 22:12

Mark Mercurio