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
- Follow the quickstart guide (https://developers.google.com/drive/api/v3/quickstart/python)
Specifications
- Python version (
python --version)
- OS (Mac/Linux/Windows)
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
Specifications
python --version)