Hi, can someone tell what am I might be missing here? I'm able to create spreadsheets using a service account and share them with a user. However, if the user create the spreadsheet and share it with service account (using the account email address), I got "File not found" when using the same piece of code.
More precisely, I have a piece of code that retrieve the spreadsheet given the ID. If the spreadsheet was created with the service account, all works fine, I'm able to retrieve it. If the spreadsheet was shared with the service account, I cannot retrieve it. Even, if I set the service account as owner. I'm taking the spreadsheet ID create by the user from the Edit URL: https://docs.google.com/spreadsheets/d/{ID HERE}/edit <https://docs.google.com/spreadsheets/d/1nLYpc-2S6gfP13bYt7MMWTQFyX-FKYvOLgTTdMCHBck/edit#gid=0> What is the correct way to share a spreadsheet with a service account? For what I'm reading, this suppose to work. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Spreadsheets API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
