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

Losing auth during receiving data #51

Open
piatkos opened this issue Aug 24, 2022 · 2 comments
Open

Losing auth during receiving data #51

piatkos opened this issue Aug 24, 2022 · 2 comments

Comments

@piatkos
Copy link

piatkos commented Aug 24, 2022

Hi,

we are getting data from GA from different views (tables). With one - we have strange problem.
SOMETIMES... during receiving data... there is an error:
Error in ParseDataFeedJSON(GA.Data) : code : 401 Reason : Request had invalid authentication credentials.

We're using token file which is validated and reload just before running query.

What is strange:

  • it's very often... but not always
  • on other views - works without problem (this one is the biggest :/ )

Any idea what to check, what to change?

W.

@JerryWho
Copy link
Contributor

Maybe the request runs too long? Split it in smaller parts and always refresh the token before sending the request.

I‘ve also read lately that Google is closing some kind of authorization. I haven‘t used this package for quite a while. So I‘m not aware if Google‘s change will affect it.

@piatkos
Copy link
Author

piatkos commented Aug 24, 2022

I'm trying to download data for one day :) Even for "today" ... once is working once not..

Any other library that is working for you right now? :)

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