feedback
feedback copied to clipboard
JSON file name in python script is not correct [gsuite-apis-intro]:
There is a mistake in the drive_list.py:
The JSON file name is incorrect.
if not creds or creds.invalid:
flow = client.flow_from_clientsecrets(**'client_id.json'**, SCOPES)
creds = tools.run_flow(flow, store)
Whit the correction:
if not creds or creds.invalid:
flow = client.flow_from_clientsecrets('client_secret.json', SCOPES)
creds = tools.run_flow(flow, store)
Instead of naming it 'client_id.json', it should be 'client_secret.json' following the exercise instructions.