alexwforsythe / code-blocks

Syntax highlighting for Google Docs
https://www.alexwforsythe.com/code-blocks/
MIT License
701 stars 89 forks source link

Permission error #69

Closed Vadrome closed 6 years ago

Vadrome commented 6 years ago

I've just stumbled upon your add-on and deemed it very useful. Unfortunately I'm not able to use it because it tells me there's a script error. Roughly translates to: The execution of this action requires a permission.

I accepted all permissions asked for when I installed it.

image

alexwforsythe commented 6 years ago

Hi Vadrome. Thanks for reporting the issue! We are currently tracking this error in #53, so I'm going to close this as a duplicate.

The short explanation is that this is a bug with Google App Script which occurs when you have multiple accounts logged into Drive. You should be able to work around it by logging out of all accounts except the one you need to edit the document.