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

Occasional rate limit issue #14

Open
bwlang opened this issue Feb 7, 2014 · 0 comments
Open

Occasional rate limit issue #14

bwlang opened this issue Feb 7, 2014 · 0 comments

Comments

@bwlang
Copy link

bwlang commented Feb 7, 2014

In some cases (maybe because this is not a very busy site) requests are issued too quickly and I get this exception:

Traceback (most recent call last):
  File "./google2piwik.py", line 665, in <module>
    export_period(start_date, end_date)
  File "./google2piwik.py", line 72, in export_period
    export_day(str(currentdate), fetcher)
  File "./google2piwik.py", line 120, in export_day
    simulator.update(fetcher, d, "ga:visits")
  File "./google2piwik.py", line 384, in update
    fetcher.FeedFetch(dimensions, metrics, self.day)
  File "./google2piwik.py", line 489, in FeedFetch
    self.feed = self.client.GetDataFeed(data_query)
  File "/usr/local/lib/python2.7/dist-packages/gdata/analytics/client.py", line 77, in get_data_feed
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/gdata/client.py", line 640, in get_feed
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/gdata/client.py", line 319, in request
    RequestError)
gdata.client.RequestError: Server responded with: 403, <?xml version="1.0" encoding="UTF-8"?><errors xmlns="http://schemas.google.com/g/2005"><error><domain>usageLimits</domain><code>userRateLimitExceeded</code><internalReason>User Rate Limit Exceeded</internalReason></error></errors>
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

1 participant