hassan_syyid
10/25/2021, 7:22 PMtap-mixpanel
which has backoff configured with max_tries=7,factor=3
. However, I’m hitting an error because the Mixpanel API has a limit of 60 queries per hour so when the rate limit is hit, it backs off for 10-30sec and then gives up. Since I know the limit would be for an entire hour is it recommended to fail like this, or should I reconfigure backoff to wait longer? If I should reconfigure, what should I change?
cc: @aaronsteers what are your thoughts?visch
10/25/2021, 7:23 PMvisch
10/25/2021, 7:25 PMhassan_syyid
10/25/2021, 7:32 PMIf you exceed the rate limit, a 429 error will be returned.
However, I also see that if there is a 500 error the tap uses backoff. This is probably an issue 🙃
https://github.com/hotgluexyz/tap-mixpanel/blob/master/tap_mixpanel/client.py#L149hassan_syyid
10/25/2021, 7:43 PMAn unexpected error occurred. Please try again. If this issue persists, please get in touch with us via <https://mixpanel.com/get-support>
visch
10/25/2021, 7:45 PMhassan_syyid
10/25/2021, 7:47 PMmax_tries
within a few mins