Reputation: 415
I'm trying to follow this Google example - https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update.
However, when I run it returns an Unauthorized 401 error. In the link above, it says it requires one of the following OAuth scopes:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/spreadsheets
Does anyone know how can I include these scopes in my java/gradle project?
Thanks!
Upvotes: 1
Views: 32