Gsuite 日历插件在事件上更新触发器异常 很抱歉,发生了服务器错误。请稍等片刻,然后重试



构建一个gsuite日历会议插件,并尝试使用以下代码段创建一个onEventUpdate触发器,以将事件数据同步回会议系统

var trigger = ScriptApp.newTrigger('syncEvents')
.forUserCalendar(calendarId)
.onEventUpdated()
.create();

但是得到一个";异常:很抱歉,出现服务器错误。请稍等,然后重试";

如果通过测试函数运行代码,则仍然有效。

我会错过一个示波器吗?在清单文件中具有以下作用域:

"oauthScopes": [
"https://www.googleapis.com/auth/userinfo.email", 
"https://www.googleapis.com/auth/gmail.addons.execute", 
"https://www.googleapis.com/auth/calendar",
"https://www.googleapis.com/auth/calendar.readonly",
"https://www.googleapis.com/auth/calendar.events",
"https://www.googleapis.com/auth/calendar.events.readonly",
"https://www.googleapis.com/auth/calendar.addons.execute", 
"https://www.googleapis.com/auth/calendar.addons.current.event.read", 
"https://www.googleapis.com/auth/calendar.addons.current.event.write", 
"https://www.googleapis.com/auth/script.external_request",
"https://www.googleapis.com/auth/script.scriptapp",
"https://www.google.com/calendar/feeds"
],

这篇文章中似乎已经向谷歌报告了这个问题。我强烈建议你在那里解释一下你的问题,这样就可以把它考虑在内。

相关内容

最新更新