feedback
feedback copied to clipboard
[gsuite-apis-intro]:
CodeLabs: "Display the first 100 files & folders in your Google Drive"
Step 7: "*Authorize API requests (user authorization)"
Suggests saving the OAuth client credentials file as as client_secret.json
Step 8: "Displaying your Drive files & folders application"
In the code snippet,
if not creds or creds.invalid: flow = client.flow_from_clientsecrets('client_id.json', SCOPES) creds = tools.run_flow(flow, store)
the client credentials file downloaded in Step 7 is referred to as client_id.json.
This inconsistency causes runtime errors that may not be easily detected and fixed.