Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ScriptError: Exception: Action not allowed" when using non-default account #1

Open
charlee opened this issue Feb 23, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@charlee
Copy link
Contributor

charlee commented Feb 23, 2021

Error ScriptError: Exception: Action not allowed occurs when clicking the "Convert" button with non-default account when logged in with multiple accounts.

Steps to reproduce

  1. Login google with two google accounts
  2. Ensure Markdown Converter is installed for both accounts.
  3. Switch to the 2nd account.
  4. Open a document, select text, run add-on, then click "Convert"

The add-on sidebar can be correctly opened, but the "Convert" button shows error ScriptError: Exception: Action not allowed.

@charlee charlee added the bug Something isn't working label Feb 23, 2021
@charlee
Copy link
Contributor Author

charlee commented Feb 23, 2021

This is due to a Google Apps Script bug. There are a couple of workarounds that helps scripts to detect this error and prompt users to take workarounds, but they are unstable, and do not provide an actual solution.

The only workaround is to logout all google accounts and login with the account that wants to use this add-on.

@aioue
Copy link

aioue commented Apr 27, 2022

Instantly hit this bug. Should be mentioned on the addon page - I probably wouldn't have installed if I had known, and lots of people won't bother to come to github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants