Name of affected component: Data Export API
Issue summary:
We manage the google analytics accounts for many clients. They give our web app
permission to access their Google analytics account with OAuth 1.0 (We will be
moving to 2.0 shortly, but for the next couple months we need to deal with this
problem). We then make calls every day to gather information about their
analytics.
At the rate of a few accounts a week, the oauth tokens go bad. When we try and
make a call with them, we get back a 401 and
<HEAD>
<TITLE>Token invalid - Token not found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Token invalid - Token not found</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
Why are these tokens going bad? There seems to be some accounts that go bad
more often then others, but there seems to be no rhyme or reason to who gets
dropped and when. We really need to figure out how to not have them dropped at
all.
Steps to reproduce issue:
1. Sign up logs of accounts
2. Run lots of queries over several days
Expected output:
Since we are not hitting any thresholds, I expect the token to be good at the
end of the period.
Actual results:
Some of the tokens will no longer be valid, returning 401 and the above error.
Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.
Original issue reported on code.google.com by gshift...@gmail.com on 17 Feb 2012 at 4:11
Original issue reported on code.google.com by
gshift...@gmail.com
on 17 Feb 2012 at 4:11