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 #78

Closed Georgio32 closed 6 years ago

Georgio32 commented 6 years ago

I am attempting to format some MatLab code, and this error appears. Have I failed to install the add-on appropriately?

leoadnan commented 6 years ago

I am also getting same error.

alexwforsythe commented 6 years ago

Hi @Georgio32 and @leoadnan. 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.