I\'m making an script to read data from google spreadsheet using the following script on nodejs:
var url = oauth2Client.generateAuthUrl({ access_type:
Delete the token from tokens folder and try again. If you have tried to run the Google Drive Quickstart before running the Spreadsheet Quickstart, the existing token might not have the spreadsheet access updated.