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
Google Sheets API Quickstart not working after configuring and following instructions. I should be seen the list of Majors and I got an error "Error: Request had insufficient authentication scopes.".
Actual Behavior
It displays an error describe above.
JavaScript Console Output
Specifications
Chrome or Firefox
Windows
The text was updated successfully, but these errors were encountered:
I got this to work but I would like to start all over from scratch (probably creating a new brand app in GCP) to ensure efficiency of the procedure.
This is what I did:
Instead of trying to read a data from the quickstart demo, I did create my own spreadsheet under the gmail account I am using.
Then I modified the quickstart javascript code to point to my sheet ID, specified new range based on dummy data.
Signed out of the current session (!IMPORTANT) by pressing Sign out button on app.
Authorize again using button on app, and indicated what the app will allow to do: reading spreasheets, etc.
After continuing consent screen, page displays my dummy data.
I brought back quickstart settings.
Reload page and demo data displays on page.
I think the issue was that the current session was holding old authentication data, and it needed to re-authenticate (sign out) in order to grab new authentication data.
Again, I need to redo this once I get to a good point.
Expected Behavior
Google Sheets API Quickstart not working after configuring and following instructions. I should be seen the list of Majors and I got an error "Error: Request had insufficient authentication scopes.".
Actual Behavior
It displays an error describe above.
JavaScript Console Output
Specifications
The text was updated successfully, but these errors were encountered: