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

traceback error : most recent call last (hello_analytics_api_v3.py line <> module<>) #4

Open
Abdulakhtar opened this issue Jul 11, 2019 · 0 comments

Comments

@Abdulakhtar
Copy link

Traceback (most recent call last):
File "hello_analytics_api_v3.py", line 178, in
main(sys.argv)
File "hello_analytics_api_v3.py", line 59, in main
scope='https://www.googleapis.com/auth/analytics.readonly')
File "/home/abdullah/.local/lib/python2.7/site-packages/googleapiclient/sample_tools.py", line 84, in init
message=tools.message_if_missing(client_secrets))
File "/home/abdullah/.local/lib/python2.7/site-packages/oauth2client/_helpers.py", line 133, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/abdullah/.local/lib/python2.7/site-packages/oauth2client/client.py", line 2134, in flow_from_clientsecrets
client_type, client_info = clientsecrets.loadfile(filename,cache=cache)
File "/home/abdullah/.local/lib/python2.7/site-packages/oauth2client/clientsecrets.py", line 165, in loadfile
return _loadfile(filename)
File "/home/abdullah/.local/lib/python2.7/site-packages/oauth2client/clientsecrets.py", line 122, in _loadfile
obj = json.load(fp)
File "/usr/lib/python2.7/json/init.py", line 289, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 337, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 380, in decode
obj, end = self.scan_once(s, idx)
ValueError: Invalid control character at: line 5 column 70 (char 230)

first it was showing no client_id after resolving it, above error is displayed.

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