# Getting rate limited when creating API gateway models

**URL:** <https://forum.serverless.com/t/getting-rate-limited-when-creating-api-gateway-models/15446>\
**Category:** Serverless Framework\
**Tags:** api-gateway\
**Created:** [June 30, 2021, 1:55pm UTC](https://forum.serverless.com/t/getting-rate-limited-when-creating-api-gateway-models/15446 "2021-06-30T13:55:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdessureault](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@mdessureault](https://forum.serverless.com/u/mdessureault)\
**Post date:** [June 30, 2021, 1:55pm UTC](https://forum.serverless.com/t/getting-rate-limited-when-creating-api-gateway-models/15446/1 "2021-06-30T13:55:28Z")

</div>

New to serverless and trying to eliminate this rate limit error we are seeing in aws cloudformation. Basically some of the APIGateway models get created successfully but then we start seeing these errors in the cloud formation console and the serverless deployment fails.

`"Too Many Requests (Service: ApiGateway, Status Code: 429"`

Questions:

- Is there a way in serverless to control the rate at which cloudformation is creating resources?
- How can this problem be avoided?

Environement details:  
Operating System: darwin  
Node Version: 12.13.0  
Framework Version: 2.48.1  
Plugin Version: 5.4.2  
SDK Version: 4.2.3  
Components Version: 3.12.0

plugins:

- serverless-aws-documentation
- serverless-api-gateway-caching
- serverless-stage-manager
- serverless-plugin-split-stacks
- serverless-plugin-stage-variables
- serverless-plugin-aws-alerts

---

<div class="post-metadata">

**Author:** ![mr21](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@mr21](https://forum.serverless.com/u/mr21)\
**Post date:** [December 10, 2021, 9:07pm UTC](https://forum.serverless.com/t/getting-rate-limited-when-creating-api-gateway-models/15446/2 "2021-12-10T21:07:31Z")

</div>

I’m also running into this issue as well. Any workarounds or ways to fix this? I was considering looking into increasing some API Gateway related quotas.

---

<div class="post-metadata">

**Author:** ![mdessureault](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@mdessureault](https://forum.serverless.com/u/mdessureault)\
**Post date:** [December 13, 2021, 7:09pm UTC](https://forum.serverless.com/t/getting-rate-limited-when-creating-api-gateway-models/15446/3 "2021-12-13T19:09:21Z")

</div>

we ended up forking the aws-documentation plugin and making adjusments there. We needed the ability to share models across different stacks (services) and that plugin didn’t allow for it.
