Rate Limit error - Node


Hi everyone,

There is one thing I am not very clear on. Libraries like the Node API https://github.com/Asana/node-asana/ do they include the management of Rate Limit Error, and the retries?



The Node API does account for the rate limit:



You are the flash :stuck_out_tongue:


Such a noob, I think I looked for it in the code but could not find it. Thanks a lot :heart: you are the bests


It can retry on rate limit responses, but this behavior is set by the dispatcher, which does not retry by default. You should be able to set client.dispatcher.retryOnRateLimit = true after you’ve created the client to enable this, though.


Good to know thanks. And there is still no solution to simulate a rate limit to make it easier to code how the app responds to it?