alexwforsythe / code-blocks

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

ScriptError: Authorization is required to perform that action. #104

Closed C-o-d-e-C-o-w-b-o-y closed 5 years ago

C-o-d-e-C-o-w-b-o-y commented 5 years ago

Add-Ons > code-blocks > Start

ScriptError: Authorization is required to perform that action. (in sidebar)

ianhyzy commented 5 years ago

Chrome blocks the pop-up that comes up that prompts you to authorize it, did you manually allow it?

C-o-d-e-C-o-w-b-o-y commented 5 years ago

No popup attempt is made at all

alexwforsythe commented 5 years ago

Hi @M4FFS. 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.

Feel free to reopen this issue if this solution doesn't solve your problem.