Google spreadsheet api Request had insufficient authentication scopes

前端 未结 9 1776
既然无缘
既然无缘 2020-11-29 07:45

I\'m making an script to read data from google spreadsheet using the following script on nodejs:

var url = oauth2Client.generateAuthUrl({
    access_type:            


        
9条回答
  •  -上瘾入骨i
    2020-11-29 08:40

    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.

提交回复
热议问题