Reputation: 7128
In a Gmail Add-on, I have:
ScriptApp.newTrigger("timedFunction")
.timeBased()
.after(5 * 1000)
.create();
However, when this runs, I get this error message:
You do not have permission to call newTrigger
How do I get this permission?
Upvotes: 0
Views: 122
Reputation: 7128
Finally noticed this on one page:
You can't create or use Apps Script simple or installable triggers in a Gmail add-on.
Upvotes: 2