Closed danieleguido closed 6 years ago
Hi,
I am also having issues with this. Have tried a myriad of options with no joy. The Google API I use succesfully elsewhere doesn't work here when placed in many options ie. root/folders etc
Tried gsjson
Love this software, but this is proving tricky on a much needed option for a future project
Hi @vahalla5, the 403 error was my fault, I forgot to add the google service account email to the list of users of my private spreadsheet (like one would do for "real" users). Then I was able to access my private spreadsheet in a bunch of ms. Are you getting the 403 error or some other error?
Sorry for the delay in responding =/
@danieleguido thanks for the follow-up!
@vahalla5 if you're still interested in resolving this, please open a new issue and detail your problem as much as possible, I'll gladly help in any way I can.
Hi @bassarisse ,
I receive an
Unhandled rejection Error: Error: HTTP error 403 (Forbidden)
when downloading data from a private spreadsheet using the json credentials:I use the (new?) google service account to produce the credentials; Google Drive API and Google Sheets API are enabled. Is this 403 related to a missing scope? Or is it due to recent changes in the API? Or is it just an error/misconfiguration on my side?
Note that I am able to get the correct json data using
gsjson
withauthtoken
.Thanks!