I have spent sometime already trying to fix a problem I can avoid by following your suggestion "
I'd only put code into the onInstall() function that is absolutely necessary"
- What is in your view absolutely necessary to include in onInstall?
- I believe in my case there is nothing like that
Otherwise,
- this is a [recent?] weird seldom error that might be related with the installation process
- even the function ScriptApp.getAuthorizationInfo fails with message "You do not have permission to call getAuthorizationInfo"
- this function by definition should not require authorization, right?
- so I am not sure what is the actual cause and if reducing onInstall calls would fix it
Anyway, I will try to reduce the calls within onInstall and hope that would avoid this problem
Thanks a lot for your suggestions !!