GAS所有触发器均突然禁用.为什么? [英] GAS all Triggers disabled suddenly. why?

查看:111
本文介绍了GAS所有触发器均突然禁用.为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所有项目中的所有GAS触发器(基于时间)均被禁用: 检查触发器页面,在上次运行"下显示红色已禁用"

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?

推荐答案

您获得的错误是由以下星座引起的

  • 用户A创建了文件
  • 用户A与用户B共享了他的文件
  • 用户B创建了绑定脚本并将时间驱动的触发器附加到脚本,或者用户B将时间驱动的触发器附加到用户A创建的脚本
  • 用户A停止与用户B共享文件
  • 用户B不再被允许对用户A的文件使用触发器
  • 用户B的触发器被禁用,并显示禁用"原因您无权访问目标脚本."
  • 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."
    • 这篇关于GAS所有触发器均突然禁用.为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆