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

Google Calendar cid参数添加日历报错,手动URL订阅却正常求助

问题:Google日历一键订阅链接失效,但手动添加同URL成功

我按照官方文档的格式生成一键「添加到Google日历」链接,格式如下:

https://calendar.google.com/calendar/r?cid=<URL-ENCODED_ICS_URL>

点击该链接后,Google日历始终弹出提示:

Unable to add calendar. Check the URL.

但通过「设置 → 添加日历 → 通过URL」路径,粘贴完全相同的ICS URL时,Google日历却能成功完成订阅并显示所有事件。这说明ICS Feed本身是有效的,但通过cid=参数的一键链接方式无法正常识别它。

托管平台:Supabase
当前使用的ICS Feed链接:
https://zbiikubnnzjlutfgmxke.functions.supabase.co/public-calendar/course/5f201ea2-b0d1-4305-8e3d-3037aa5485f1.ics

我已验证的服务器/ICS信息如下:

{
  "url": "https://zbiikubnnzjlutfgmxke.functions.supabase.co/public-calendar/course/5f201ea2-b0d1-4305-8e3d-3037aa5485f1.ics",
  "status": 200,
  "statusText": "OK",
  "headers": {
    "content-type": "text/calendar",
    "content-disposition": null,
    "location": null,
    "cache-control": "public, max-age=300"
  },
  "redirected": false,
  "firstBytes": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPR",
  "firstBytesBase64": "QkVHSU46VkNBTEVOREFSDQpWRVJTSU9OOjIuMA0KUFI=",
  "eventCount": 7,
  "startsWithBegin": true,
  "errors": []
}

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.12 07:43:12