Article Details
Id: | 18935 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.04.04 |
Opened: | 24/01/2022 |
Closed: | 08/02/2022 |
Released: | 09/06/2022 |
Job: | J028172 |
MYOB GL API; implemented API Rate limit retry
The MYOB API may fail with a 403 Forbidden error, with the message "ERROR: API key has exceeded the per-second rate limit" or "ERROR: API key has exceeded the daily rate limit".
finPOWER Connect now includes the following strategy - If the request fails with a Status 403, 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 second limit - but not the per day limit.