Is it possible to add a delay between subsequent requests for pagination?

We currently have pagination setup for a few of our actions.

In some cases, where the user has set a high number of “page” to search, a large number of requests will be made which causes them to run into their Dumpling AI rate limit.

We were wondering if there was an option to add or specify a delay between requests for pages? If not, what is the best practice for handling this?

Thanks,
Yang

You can limit to the maximum number (e.g. 100), and it is on the onus of the user to handle pauses by adding a sleep module (your module should throw the error) before fetching the next page (100).

Alternatively, the backend of your module have up to 40 seconds to respond, so you could handle a couple of waits and fetching more pages server-side.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.