Expected Behavior
List the google drive content
Actual Behavior
raceback (most recent call last):
File "list_drive.py", line 48, in
main()
File "list_drive.py", line 28, in main
'credentials.json', SCOPES)
File "/home/rommel_uriel/.local/lib/python3.7/site-packages/google_auth_oauthlib/flow.py", line 199, in from_client_secrets_file
return cls.from_client_config(client_config, scopes=scopes, **kwargs)
File "/home/rommel_uriel/.local/lib/python3.7/site-packages/google_auth_oauthlib/flow.py", line 159, in from_client_config
'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.Run the code in python 3.7
1.
1.
Specifications
Expected Behavior
List the google drive content
Actual Behavior
raceback (most recent call last):
File "list_drive.py", line 48, in
main()
File "list_drive.py", line 28, in main
'credentials.json', SCOPES)
File "/home/rommel_uriel/.local/lib/python3.7/site-packages/google_auth_oauthlib/flow.py", line 199, in from_client_secrets_file
return cls.from_client_config(client_config, scopes=scopes, **kwargs)
File "/home/rommel_uriel/.local/lib/python3.7/site-packages/google_auth_oauthlib/flow.py", line 159, in from_client_config
'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.Run the code in python 3.7
1.
1.
Specifications
Python 3.7 (
python --version) on ubuntuLinux instance-4 4.9.0-11-amd64 Add region tags #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux
(base) rommel_uriel@instance-4:~$
OS (Mac/Linux/Windows)