# 429 rate limit error, how do i make my module wait and try again?

**URL:** <https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154>\
**Category:** Questions\
**Tags:** api\
**Created:** [May 20, 2024, 6:23pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154 "2024-05-20T18:23:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobias\_Hansen](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@Tobias\_Hansen](https://community.make.com/u/Tobias_Hansen)\
**Post date:** [May 20, 2024, 6:23pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154/1 "2024-05-20T18:23:53Z")

</div>

Hi,

I’m using the HTTP Make a basic auth request for a open API. The API has a limit of 30 queries within 60 seconds.

My issue is that i have over 888 records i need to run, and i need the HTTP module to run 30 queries each 60 second, anybody know how i can pull this off?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/b/7b7f292e7e6d0ee2253a726b99621b4a1c8eada9.png)

[blueprint (8).json](https://community.make.com/uploads/short-url/wupOkTxLdBVW6IztkL7QiDZqALJ.json) (44.3 KB)

I believe i should use Sleep + Repeater, but i’m not sure where to place them, and how i can make the API run 30/ then start from the last place it stopped?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/0/5049473c34414f352f4364dcc51ea8a0d9e0bfb7.png)

---

<div class="post-metadata">

**Author:** ![Donald\_Mitchell](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/donald_mitchell/32/8749_2.png) [@Donald\_Mitchell](https://community.make.com/u/Donald_Mitchell)\
**Post date:** [May 20, 2024, 6:31pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154/2 "2024-05-20T18:31:02Z")

</div>

Hi @Tobias_Hansen,

I believe you can right click the HTTP module, add an error route, select Resume.  
On that route, between HTTP and Resume, you add two modules, Sleep, and a clone of your HTTP module.  
So the order is:  
HTTP (original) → Sleep → HTTP (clone) → Resume

In the Sleep module, enter in 60 seconds.  
In the Resume module, fill in the fields from the HTTP (clone) module.

To describe what this does… run HTTP (original), if there’s an error, wait 60 seconds, run HTTP (clone), pass the results of HTTP clone as if they were the result of HTTP (original) into the rest of your scenario.

---

<div class="post-metadata">

**Author:** ![Tobias\_Hansen](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@Tobias\_Hansen](https://community.make.com/u/Tobias_Hansen)\
**Post date:** [May 20, 2024, 6:38pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154/3 "2024-05-20T18:38:25Z")

</div>

Hey Donald,  
Thanks for getting back to me so quickly!

I just tried it out:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/f/5f61c2b0c2290c1d9ecaa7197e7c79a0632b1852.png)

But it dosent seem like the “Error route” starts, the scenario runs like normal and dosent take route 2

---

<div class="post-metadata">

**Author:** ![Donald\_Mitchell](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/donald_mitchell/32/8749_2.png) [@Donald\_Mitchell](https://community.make.com/u/Donald_Mitchell)\
**Post date:** [May 20, 2024, 6:42pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154/4 "2024-05-20T18:42:12Z")

</div>

Oops, missed a step!  
If you open up the HTTP module, there’s an option at the bottom to enable Advanced settings, tick that to on.  
Then, at the top, there’s an option to Evaluate all states as errors (except for 2xx and 3xx).  
Set that to Yes and let’s see if that helps!

---

<div class="post-metadata">

**Author:** ![Tobias\_Hansen](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@Tobias\_Hansen](https://community.make.com/u/Tobias_Hansen)\
**Post date:** [May 20, 2024, 6:53pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154/5 "2024-05-20T18:53:45Z")

</div>

Strange stuff is happening Donald,

When i’m doing this (Enabled Advanced settings) i get The operation failed with an error. Error: 400 Bad Request. Basically Evaluate all states as errors (except for 2xx and 3xx ) is breaking the scenario.

The error code is 429, is it possible to send it to route 2 if Error: 429 comes up?

![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/8/5879fbd14c4f5cd925a97a31350508990a5bfc60.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/5/e528695ab3189f088c7f66193a33b992863b0706.png)

But it works fine when i dont do the error route without Evaluate all states as errors (except for 2xx and 3xx )

Any ideas?

---

<div class="post-metadata">

**Author:** ![Donald\_Mitchell](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/donald_mitchell/32/8749_2.png) [@Donald\_Mitchell](https://community.make.com/u/Donald_Mitchell)\
**Post date:** [May 20, 2024, 8:00pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154/6 "2024-05-20T20:00:29Z")

</div>

Wow, that’s very odd.  
Can’t really say more until we see what you’re running.  
The 400 is badly formatted request. The only way I can see changing the Evaluate all states as errors can cause this is if you’ve been running bad requests and just didn’t know it until now.

Is that a possibility?

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [August 18, 2024, 8:04pm UTC](https://community.make.com/t/429-rate-limit-error-how-do-i-make-my-module-wait-and-try-again/38154/7 "2024-08-18T20:04:06Z")

</div>


