Hi @minimul,
Xero has API rate limiting. Specifically,
- Minute Limit: 60 calls in a rolling 60 second window
- Daily Limit: 5000 calls in a rolling 24 hour window
Xeroizer allows us to sleep for a number of seconds if the request fails in response to the OAuth::RateLimitExceeded error.
See here for a reference: https://github.com/waynerobinson/xeroizer/blob/master/lib/xeroizer/http.rb#L133
Are you open to adding something similar in? Am I correct there's something similar (in terms of retrying) in your qbo-api?
Cheers,
Rikki
Hi @minimul,
Xero has API rate limiting. Specifically,
Xeroizer allows us to sleep for a number of seconds if the request fails in response to the
OAuth::RateLimitExceedederror.See here for a reference: https://github.com/waynerobinson/xeroizer/blob/master/lib/xeroizer/http.rb#L133
Are you open to adding something similar in? Am I correct there's something similar (in terms of retrying) in your qbo-api?
Cheers,
Rikki