【问题标题】:Google Calendar API - HangoutsMeet, not working anymoreGoogle Calendar API - HangoutsMeet,不再工作
【发布时间】:2021-05-03 14:19:14
【问题描述】:

我已经设置了一个服务帐户,我通过该帐户创建了活动并添加了环聊聚会,因此我可以获得要分享的链接。 它一直工作到今天早上,现在我收到无效的会议类型错误,我的代码没有任何变化。 你能帮我吗? 这是一直有效的请求:

calendar.events.insert( {
        "calendarId" : 'primary',
        "conferenceDataVersion": 1,
        "resource":{
            "end": {
                "dateTime" : endDate.toISOString(),
                'timeZone': 'Europe/Berlin'
            },
            "start": {
                "dateTime" : startDate.toISOString(),
                'timeZone': 'Europe/Berlin'
            },
            "conferenceData": {
                "createRequest": {
                    "requestId": randomstring,
                    "conferenceSolutionKey": {
                        "type": "hangoutsMeet"
                    }
                }
            }
        }

编辑:我删除了 "conferenceDataVersion": 1 及其工作,当我测试它时,没有它就无法工作。有什么变化吗?

【问题讨论】:

  • 你好@J0mk!我读到你自己解决了这个问题,你能在答案中写下解决方案吗?这将大大改善这个问题文档。

标签: api google-api google-calendar-api google-api-nodejs-client


【解决方案1】:

我删除了 "conferenceDataVersion": 1 及其工作,不知道为什么。几周前,没有它就无法工作。

【讨论】:

  • 现在无论有没有conferenceDataVersion,这似乎都不起作用,无论是作为插入事件还是更新事件。谷歌是否在搞乱他们的 API 来终止环聊?
猜你喜欢
  • 1970-01-01
  • 2020-11-02
  • 2014-06-18
  • 2012-10-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-12-01
相关资源
最近更新 更多