We're sorry, a server error occurred while reading from storage. Error code PERMISSION_DENIED
Disabling App Script V8 runtime fixed the issue for me when logged with multiple accounts...
I was developing an Add-on on my non-primary Google account so I was facing the error when calling server-side Google App Script functions from HTML Dialogs.
I hope that helps.
I ran into the same problem and it seems to be related with being signed into multiple google accounts on Chrome.
- Laptop 1: Last night I was working on my Google App Script from my laptop which is only using one Google Account on Chrome.
- Laptop 2: Today I'm trying to update my Google App Script using my other laptop which has multiple Google Account's signed-in.
When running the script from Laptop 2 I get an error:
We're sorry, a server error occurred while reading from storage. Error code PERMISSION_DENIED.
I tried the script on Laptop 1 and everything was working fine. Next I opened an Incognito windows on Laptop 2 and signed into my single account and everything works.