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

Unexpected credentials type #3

Open
alexhogset opened this issue Jul 6, 2021 · 0 comments
Open

Unexpected credentials type #3

alexhogset opened this issue Jul 6, 2021 · 0 comments

Comments

@alexhogset
Copy link

(base) C:\Users\Alexander\stocks>python overview-data.py
Warming up ...
Traceback (most recent call last):
File "overview-data.py", line 20, in
creds = ServiceAccountCredentials.from_json_keyfile_name('google-sheets-secret.json', scope)
File "C:\Users\Alexander\anaconda3\lib\site-packages\oauth2client\service_account.py", line 221, in from_json_keyfile_name
return cls._from_parsed_json_keyfile(client_credentials, scopes,
File "C:\Users\Alexander\anaconda3\lib\site-packages\oauth2client\service_account.py", line 171, in _from_parsed_json_keyfile
raise ValueError('Unexpected credentials type', creds_type,
ValueError: ('Unexpected credentials type', None, 'Expected', 'service_account')

(base) C:\Users\Alexander\stocks>

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