'You do not have permission to call ScriptApp.getProjectTriggers. Required permissions: https://www.googleapis.com/auth/script.scriptapp

I get this error, even though I added this scope to my apps-script project manifest.

What else is missing?

You do not have permission to call ScriptApp.getProjectTriggers. Required permissions: https://www.googleapis.com/auth/script.scriptapp

enter image description here



Solution 1:[1]

As simple triggers fire automatically, without asking the user for authorization, they are subject to several restrictions that are explained in the "Restrictions" section of the following Developers Center page called "Simple Triggers" [1].

It's worth considering if any of these restrictions have an impact on your application.

[1] https://developers.google.com/apps-script/guides/triggers#restrictions

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Lorena Gomez