r/GoogleAppsScript • u/DReid25 • Mar 25 '23
Question How to unblock Apps Scripts?
When I try to run Apps Scripts for any script that works on other Google accounts I get this error
This app is blocked
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.
There is no option to allow access or to edit this from the pop up window. In my account security/3rd party panel the app doesn't show.
I can't run any scripts in this account.
Is there a way to 'unblock' or add App Scripts in my account manually?
Thanks,
6
Upvotes
1
u/DReid25 Mar 27 '23
Thanks. When I tried to save the script on its own I received this error. I was unable to save and run.
Syntax error: SyntaxError: Invalid or unexpected token line: 2 file: Code.gs