NEW3.01.11 · Released 3 April 2019
NEWfinPOWER Connect
Released in
3.01.11
3 April 2019
- Opened18 Mar
- Closed18 Mar
- Released3 Apr
Article 15940
Job J022023
Xero Web API; implemented API Rate limit retry
Xero has a limit of 60 calls per minute and 5,000 per day (using a rolling time period) when using its API. A HTTP status of 503 is returned.
Therefore, finPOWER Connect now includes the following strategy:
- If the request fails with a Status 503, finPOWER Connect will wait for a short period and then try sending the request again. This happens 5 times with an increasing wait period of 2, 4, 8, 16 and 32 seconds (a total potential wait of 62 seconds).
NOTE: This should all but eliminate the per minute limit - but not the per day limit.