Name of affected component: Management API
Name of related library and version, if applicable : Using Python,
Issue summary:
Trying to insert users to Google Analytics Account through a csv file and the
API. Throws a Server error each time. Was working just fine yesterday. At
times, it inserts one user and then throws the HTTP 503 error.
There have also been times when it threw a 403 error: User does have an
analytics account but on second run, it either ran successfully or threw a 503
again.
Expected output:
All emails in the csv added to GA which has worked in the past.
Actual results - The error
Traceback (most recent call last):
File "HelloAnalytics35.py", line 665, in <module>
main()
File "HelloAnalytics35.py", line 658, in main
iterate_thru_csv("abc",row_count,service)
File "HelloAnalytics35.py", line 436, in iterate_thru_csv
fire_right_insert_method(service,row)
File "HelloAnalytics35.py", line 465, in fire_right_insert_method
add_to_marketing_pr_analytics(service,row[0])
File "HelloAnalytics35.py", line 115, in add_to_marketing_pr_analytics
add_user_profile(service,'**-******-**','*******',email,perm)
File "HelloAnalytics35.py", line 190, in add_user_profile
'email': email
File "C:\Python27\lib\site-packages\oauth2client\util.py", line 137, in positional_wrapper
return wrapped(*args, **kwargs)
File "C:\Python27\lib\site-packages\googleapiclient\http.py", line 729, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 503 when requesting
https://www.googleapis.com/analytics/v3/management/accounts/*****/webproperties/
**-*****-**/profiles/*******/entityUserLinks?alt=json ret
urned "There was a temporary error. Please try again later.">
Original issue reported on code.google.com by elma.pi...@redfin.com on 11 Aug 2015 at 6:31
Original issue reported on code.google.com by
elma.pi...@redfin.com
on 11 Aug 2015 at 6:31