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

ValueError: Client secrets must be for a web or installed app #212

Open
matt-f-tsu opened this issue Jul 19, 2021 · 0 comments
Open

ValueError: Client secrets must be for a web or installed app #212

matt-f-tsu opened this issue Jul 19, 2021 · 0 comments

Comments

@matt-f-tsu
Copy link

Expected Behavior

program works, prints list of files in google drive

Actual Behavior

Traceback (most recent call last):
File "/Users/mattf/googledocs-python/./quick2.py", line 65, in
main()
File "/Users/mattf/googledocs-python/./quick2.py", line 43, in main
flow = InstalledAppFlow.from_client_secrets_file(
File "/Users/mattf/googledocs-venv/lib/python3.9/site-packages/google_auth_oauthlib/flow.py", line 206, in from_client_secrets_file
return cls.from_client_config(client_config, scopes=scopes, **kwargs)
File "/Users/mattf/googledocs-venv/lib/python3.9/site-packages/google_auth_oauthlib/flow.py", line 164, in from_client_config
raise ValueError("Client secrets must be for a web or installed app.")
ValueError: Client secrets must be for a web or installed app.

Steps to Reproduce the Problem

  1. Follow the quickstart guide (https://developers.google.com/drive/api/v3/quickstart/python)

Specifications

  • Python version (python --version)
  • OS (Mac/Linux/Windows)
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