首页 > 解决方案 > 对 calendar.events.insert 的 API 调用失败并出现错误:无效的会议类型值

问题描述

我正在尝试构建第三方会议谷歌日历插件。为了创建会议数据,我传递了下面的对象。

"conferenceData": {
        "createRequest": {
          "requestId": '7qxalsvy0e',
          "conferenceSolutionKey": {
            "type": 'addOn'
          }
        }
};

GoogleJsonResponseException:对 calendar.events.insert 的 API 调用失败并出现错误:会议类型值无效。

是否缺少某些东西或传递了错误的值?

标签: google-apps-scriptgoogle-calendar-apigsuite-addons

解决方案


推荐阅读