Hello,
I'm encountering an issue with accessing ScriptApp.getProjectTriggers() in my script. When I try to call this function, it fails with the following error message:
Here's the relevant code snippet:
```
function existingTriggers() {
return ScriptApp.getProjectTriggers();
}
```
I've already added the necessary OAuth scopes in my appsscript.json file:
```
```
Interestingly, when I manually run the onOpen function by clicking "Run" in the Apps Script editor, it executes without any issues.
Could you please advise on how to resolve this permission error? Thank you.