You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Google Calendar API发送邀请报错,已配置全域委派仍未解决

问题:服务账号无法邀请日历参会者

触发报错:

Service accounts cannot invite attendees without Domain-Wide Delegation of Authority
  • 可正常使用服务账号创建日历事件,但无法邀请任何用户,问题持续存在
  • 已在Google Workspace域管理控制台的Security > Access and data control > API Controls > Domain wide delegation面板添加服务账号的客户端ID,操作后无改善
  • 已严格执行以下配置步骤,仍未解决问题:
    • 进入Google Workspace域管理控制台主菜单 > Security > Access and data control > API Controls
    • 在Domain wide delegation面板选择「Manage Domain Wide Delegation」
    • 点击「Add new」
    • 在Client ID字段填入服务账号的Client ID(该ID可从Service accounts页面获取)
    • 在OAuth scopes (comma-delimited)字段填入应用权限范围列表,例如全域访问Google Calendar API需输入:https://www.googleapis.com/auth/calendar
    • 点击「Authorize」

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.31 06:21:36