Zohar Argaman
Zohar Argaman

Reputation: 11

GAS all Triggers disabled suddenly. why?

all my GAS triggers (time based) in all my projects are disabled: checking the trigger page shows a red "Disabled" under "last run"

and text inside says: Disable reason You do not have access to the target script.

can someone explain what is going on?

Upvotes: 1

Views: 331

Answers (1)

ziganotschka
ziganotschka

Reputation: 26806

The error you obtained is caused by the following constellation

  • User A created a file
  • User A shared his file with user B
  • User B either created a bound script and attached an time-driven trigger to the script, or User B attached a time-driven to the script created by user A
  • User A stopped sharing the file with user B
  • User B is not allowed anymore to use a trigger on User A's file
  • User B's triggers become disabled and show the Disable reason "You do not have access to the target script."

Upvotes: 2

Related Questions