-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rate limit errors #88
Comments
Also it looks like the Meltano SDK supports implementing a rate limit backoff? Custom Backoff I'm brand new to Meltano so my assumptions may be wrong about how or where to implement the rate limit back off. |
cc @edgarrmondragon @kgpayne I think you'd know best how to implement this |
The tap does try to handle rate limits, but harsher Development tier limits may not be correctly handled: tap-facebook/tap_facebook/client.py Lines 118 to 170 in f8f3295
If the API provides a header lets the user now when the rate limit will be refreshed, the tap could leverage that in a custom implementation of |
Facebook's rate limits are quite low for apps in "Development" mode and getting approved to come out of development mode is not trivial. This makes it difficult to use Meltano with a new app.
Would it be possible to implement a rate limit backoff? It is possible to see how close you are to the rate limit using a header that FB provides in responses from the API:
The text was updated successfully, but these errors were encountered: