-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Make the interaction between rowLimit and batch type clearer #17
Comments
Hey Mark,
Results in this error: This error only appears if the rowLimit is above 5000. |
Hi @mischa2002k2 - please update to the GitHub version for now:
Its due to the updated batch policies implemented in |
Thanks - this did fix my issue! |
Mark, I'm using fresh github installs of If you have a moment, can you please confirm that And, this may not be worth too much thought, but do you have any insight into the Perhaps this belongs over at googleAuthR issues but it seems primarily searchConsoleR? |
The latest version on GitHub sets the batch endpoint itself, ( here ) so no action from you should be needed. There should be no difference in authentication if the rowLimits change, perhaps you have a cached result? In any case I would delete any Also, are you running the script alongside other |
Thanks, that's what I assumed, and "delete-all-and-start-fresh" was my first move, thinking along those lines. I took a deeper look at As far as I can tell, the
But this doesn't
Things also work if I generate a fresh Perhaps it's related somehow to At this point, things run okay when I'm careful about the order of attaching and authenticating. For my present needs, it works (and is probably better practice) to keep the data access chunks separated. And thanks again for all your work making useful tools!!! |
@daauerbach If you are using multiple libraries, then its most likely the scopes (set via Could you see if this section on the Essentially since |
I'm dealing okay with the authentication issues in interactive sessions, but getting back closer to the original issue here, in case it helps anyone else... It looks like the API rowLimit max is specified as 5000 in the google documentation (as well as set in the function). I wanted more per day, so I loop |
^^ (facepalm) or, it works fine to just add the "date" dimension to the single function call |
Ok cool! Closing this as solved then. |
But I’ll add a bit to make it easier to add all rows available. |
This means if you don't specify
rowLimit
it won't batch which is weirdThe text was updated successfully, but these errors were encountered: