I\'m making an script to read data from google spreadsheet using the following script on nodejs:
var url = oauth2Client.generateAuthUrl({
access_type:
The same problem occurred when I updated the scope. Along with the instruction, I delete the token.json file under the same directory with the python script, then the Authentication scope issue went away.
as @herrogokunaruto mentioned, ensure token.pickle file is not present in the workspacefolder
The scopes look good, maybe you should try to remove the credentials stored previously in /Users/yourUserName/.credentials/sheets.googleapis.com-projectName/*
, and then execute the application again to get new credentials.