Closed sherifnada closed 3 years ago
Commenting to follow this issue.
@zestyping based on our investigation last week, I was under the impression the rate limit failure here was actually expected since you had exhausted the quota the previous day? Are you seeing failures happening when the rate limit has not been exhausted?
@sherifnada I believe you're right. Ever since Google upgraded our token to Standard Access we haven't seen rate limit errors (though we do have jobs that run for a very long time — one took 5 hours and the current one is at 15 hours and still running).
Expected Behavior
I expect the Google Adwords source to gracefully retry rate limiting errors.
Current Behavior
A user leveraging a basic access token is reporting that basically all his syncs are failing with a RATE_LIMIT_EXCEEDED error even though this is happening on the first sync he's running. Therefore it seems unlikely that he hit the 10k request/day limit.
Acceptance criteria:
rateName
,rateScope
, andretryAfterSeconds
fields described here when a rate limit error is reachedretryAfterSecond * 2
seconds instead of the default 60 second amount. This behavior is recommended by the API docs here. under theretryAfterSeconds
header.Logs
https://airbytehq.slack.com/files/U01N7JCHS8M/F022H9JJWVB/logs-285-0.txt?origin_team=T01AB4DDR2N&origin_channel=C01ABDJV89H
Steps to Reproduce
This isn't happening in our own CI, but is reported by zestyping . Logs attached above. Slack thread: https://airbytehq.slack.com/archives/C01MFR03D5W/p1621534812097200
Severity of the bug for you
High - user is unable to use the connector
Airbyte Version
latest
Connector Version (if applicable)
0.2.2
┆Issue is synchronized with this Asana task by Unito