You need to enable JavaScript to run this app. Google Calendar API 服务账号集成HangoutsMeet突发无效会议类型错误
优惠活动
大模型
产品
解决方案
定价
更多

Google Calendar API 服务账号集成HangoutsMeet突发无效会议类型错误

Google Calendar API Hangouts Meet关联接口突发报错排查

故障现象

  • 基于服务账号调用Google Calendar API创建日程、同步关联Hangouts Meet生成对外可分享会议链接的流程,长期稳定运行,在无业务代码改动的前提下,突然返回invalid conference type(无效会议类型)报错
  • 长期正常运行的原请求逻辑如下:
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后,接口可正常调用,且能正常生成可对外分享的Meet会议链接
  • 历史测试记录显示,早期版本接口调用时,不带conferenceDataVersion: 1参数无法正常触发Meet关联能力

接口规则变动说明

  • conferenceDataVersion: 1原本是Google为实现新版Meet会议集成能力设置的强制版本标识,用于新旧Hangouts集成能力的过渡期兼容校验
  • 过渡期结束后,Google侧已将hangoutsMeet类型的会议集成能力设为接口默认开启能力,不再要求显式传递版本标识
  • 当前接口校验逻辑已完成切换:显式携带conferenceDataVersion: 1的请求,会被判定为调用已下线的旧版Hangouts(非Meet)集成接口,与请求中指定的hangoutsMeet类型不匹配,因此直接抛出无效会议类型报错

内容的提问来源于stack exchange,提问作者J0mk

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.11.05 23:36:00