429 API Rate Limit Error

The documentation is wrong.

From experience, the SDK will retry a failed API call 6 times max. After that, it stops retrying and you’re on your own to essentially restart things yourself.

At A8Labs, we actually don’t use the SDK and instead make the API calls ourselves using

the axios library. We evaluate the response headers and look for the rate-limiting headers specifically and take pauses/sleep if we can anticipate a 429 coming.

For job queueing and decoupling, please check out the article below