google script openById : You do not have permission to perform that action

Installable Triggers

There are two types of OnEdit trigger. Installable triggers are able to ‘alter another file’, see: https://developers.google.com/apps-script/guides/triggers/installable

@kusi supplied the answer as a comment, just adding it here.

Leave a Comment