Skip to content
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

for quota exceeded errors, back off and try again #6

Closed
MarkEdmondson1234 opened this issue Aug 27, 2015 · 2 comments
Closed

for quota exceeded errors, back off and try again #6

MarkEdmondson1234 opened this issue Aug 27, 2015 · 2 comments

Comments

@MarkEdmondson1234
Copy link
Owner

If an API is queried to quickly, it will error. Detect these errors and try the request again a few times.

@jdeboer
Copy link

jdeboer commented Aug 28, 2015

Hi @MarkEdmondson1234
If it is of any assistance to you, there is logic in the ganalytics package which is also designed to address this. You may want to adapt this code for use in the googleAuthR package.
https://github.com/jdeboer/ganalytics/blob/master/R/GaApiRequest.R#L171

@MarkEdmondson1234
Copy link
Owner Author

Thanks @jdeboer , I put your implementation in latest dev version 9001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants