Closed elyse-weiss closed 1 year ago
Does changing the code to automatically share a newly created file with the service account make sense?
We can get the service account's address with credentials_dict['client_email']
Sure! I think that would work.
While that would be cool solution, in my experience, the sheet/file might already before the script is written. I would suggest also or only updating the documentation.
Detailed Description
The Google Sheets section includes direction on creating a service account. There is a key piece of information missing! The service account created -- [text]@[project].iam.gserviceaccount.com -- needs to be shared on any Google Sheets or Google Drive Folders being interacted with.
Priority
High! I couldn't figure this out without asking others.