You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm this behaviour, and removing the API_KEY fixed the problem. Many thanks to @DustinWehr for providing a quick solution, though I'm interested in why we don't need the API_KEY anymore...
The file https://github.com/gsuitedevs/browser-samples/blob/master/drive/quickstart/index.html, which is currently hosted at https://developers.google.com/drive/api/v3/quickstart/js.
Following the instructions exactly:
listFiles
gives 401 error. Likewise if I try to call it from the console.But it works if I remove the
apiKey
parameter from thegapi.client.init
call.Didn't know if I should make an issue here or at https://github.com/google/google-api-javascript-client.
JavaScript Console Output
Specifications
The text was updated successfully, but these errors were encountered: