[App][Plugins] iCloud Calendar returns -32603 Internal error after reconnecting; Mail works
Summary
The official OpenAI iCloud Calendar plugin repeatedly returns Mcp error: -32603: Internal error for both calendar listing and event search. Reconnecting the Calendar account did not resolve the failure. The account owner also reports that calendar queries fail in a fresh ChatGPT web conversation.
In the same Codex chat, the official iCloud Mail plugin successfully listed folders, searched messages, and read one message.
Please investigate the Calendar-specific connection path or route this report to the appropriate connector team. The cross-surface observation is included because this may not be a Codex-local issue.
Environment
- Date observed: October 28, 2026 (Asia/Shanghai, UTC+08:00).
- Surface directly tested: Codex desktop app on macOS.
- Affected integration: official OpenAI iCloud Calendar plugin.
- Locally inspected plugin package version: 1.0.3 (this is the plugin package version, not the desktop app version).
- Additional surface: a fresh ChatGPT web conversation, reported by the account owner; its raw tool transcript was not independently inspected.
- Desktop app build and selected model were not recorded for this report.
Steps to reproduce
- Install and connect the official iCloud Calendar plugin.
- Request the available calendar list:
icloud_calendar.list_calendars({}). - Request events with an explicit timezone and a bounded date range:
{
"start_time": "2026-10-28T00:00:00+08:00",
"end_time": "2026-11-04T00:00:00+08:00",
"time_zone": "Asia/Shanghai",
"limit": 100
}
- Reconnect the Calendar account and repeat the read-only calls.
- As an additional control, test a calendar query in a fresh ChatGPT web conversation.
Actual behavior
Directly observed in Codex, including after the owner reported reconnecting Calendar:
tool call error: tool call failed for `codex_apps/icloud_calendar.list_calendars`
Caused by:
Mcp error: -32603: Internal error
codex_apps/icloud_calendar.search_events returns the same error code and generic message. Multiple sequential attempts reproduced the failure. No actionable provider error, HTTP status, or diagnostic correlation ID was returned.
The Calendar get_profile call succeeds, but its tool description explicitly says it reads the configured Apple login without contacting Apple. This is therefore not evidence that live Calendar authentication succeeded.
The account owner reports that the fresh ChatGPT web test also failed. This web result is user-reported, unlike the directly captured Codex tool results above.
Successful control: iCloud Mail
In the same Codex chat, these read-only calls all succeeded:
icloud_mail.list_foldersicloud_mail.search_messagesin the inbox, limited to one messageicloud_mail.get_messagefor the returned message
This confirms the tested Mail read path works; it does not establish that Mail and Calendar use the same credential or that Calendar provider authentication is valid.
Expected behavior
Return calendars and events for the connected account, or expose an actionable error that distinguishes authentication, account configuration, provider availability, and connector failures. A diagnostic correlation ID would help support trace the failure.
Troubleshooting and scope
- Calendar connection was re-established by the account owner; the failure persisted on subsequent Codex calls.
- Fresh ChatGPT web conversation tested by the owner; failure reported there as well.
- Generic retries did not resolve the issue.
- Calendar listing fails without event-search arguments, so the issue is not limited to the supplied search window.
- No calendar creation or other calendar write was attempted.
- No email send or other Mail write was tested.
- Root cause remains unknown. This report does not claim a confirmed password, Apple-service, or Codex-local defect.
The official plugin troubleshooting guidance distinguishes temporary service failures from rejected credentials and recommends escalation when the problem persists.
Privacy
No credentials, account email addresses, personal events, mailbox contents, private session identifiers, or raw logs are included.
Same issue here, and I believe it's specific to China-region (mainland) Apple IDs, whose iCloud data is hosted by GCBD (云上贵州) at icloud.com.cn instead of icloud.com.
- The iCloud Calendar plugin connects, but
list_calendars/search_eventsalways fail withMcp error: -32603: Internal error, including after reconnecting and after generating a fresh app-specific password. - With the same Apple ID and app-specific password, plain CalDAV works fine from my own client (reading and writing events), so the credentials and account are OK.
- Several other China-region users report the same thing on X, e.g. https://x.com/ee4gaga/status/2115353945132683487 and https://x.com/jen_celeus/status/2115626707311042722
My guess is that the plugin only talks to the global iCloud CalDAV endpoints (caldav.icloud.com) and never tries the China-mainland ones. Could you add support for China-region accounts, or at least return a clearer error for them? Happy to help test.
Additional independent reproduction from ChatGPT web on Windows (Firefox), 2026-10-30 around 15:00 China Standard Time (UTC+08:00).
- Apple Account region: Mainland China (China-region iCloud account).
- ChatGPT plan: Plus.
- Integration: official iCloud Calendar plugin; the plugin is accessible, but read operations fail.
- Read attempt 1:
icloud_calendar.list_calendars({})→The tool failed internally. - Read attempt 2:
icloud_calendar.search_events({start_time:"2026-10-30T00:00:00+08:00", end_time:"2026-11-07T00:00:00+08:00", time_zone:"Asia/Shanghai", limit:10})→ the sameThe tool failed internally. - Similar failures have occurred repeatedly in earlier ChatGPT conversations. No calendar writes were attempted.
- No request/diagnostic ID was exposed to the user.
Given the additional reports involving Mainland China Apple Accounts, please check whether the connector correctly discovers and uses the China-region iCloud Calendar/CalDAV service endpoints (e.g., caldav.icloud.com.cn) rather than assuming the global endpoint. This is a hypothesis, not a confirmed root cause. It would also help to expose a distinguishable authentication/endpoint/service error rather than only a generic internal failure.
No Apple Account email, credentials, personal calendar entries, or sensitive logs are included.
@KyLenMou Same here — on ChatGPT's side there's no fix for now; the built-in iCloud connector doesn't seem to support China-region accounts (caldav.icloud.com.cn). As a temporary workaround, I'm talking to iCloud CalDAV directly (p***-caldav.icloud.com.cn) with an app-specific password stored in an environment variable, and reads/writes work fine. Hope OpenAI adds China-region support.
中文:GPT 这边目前无解,内置的 iCloud 连接器应该不支持国区账号。临时办法是直接连国区 iCloud 的 CalDAV,把 App 专用密码放进环境变量里,读写都正常。
Additional reproduction on 2026-11-10 (Asia/Shanghai) in the ChatGPT iOS conversation using the official iCloud Calendar integration:
icloud_calendar.search_events({start_time:"2026-11-10T00:00:00+08:00",end_time:"2026-11-25T00:00:00+08:00",time_zone:"Asia/Shanghai",limit:100})→Mcp error: -32603: Internal error.icloud_calendar.list_calendars({})→ the same-32603internal error.icloud_calendar.get_profile({})→ returned a configuredaccount_identifiersuccessfully; as noted above this does not validate live Calendar authentication.
Both failed calls were read-only. No calendar data was retrieved and no events were modified. The issue persists on a different ChatGPT surface, which strengthens the evidence of a connector-level or account/region-specific interoperability problem. The exact root cause is still unverified. Please investigate and expose an actionable diagnostic or correlation ID. No Apple login or event contents are included here.
Update (2026-11-26): I found and successfully tested a workaround for China-region iCloud Calendar accounts using the official ChatGPT iCloud Calendar connector. This is a workaround, not a fix for the original China-region account connection failure.
Workaround: privately share the China-region calendar with a separate US-region Apple Account
- Keep the original China-region Apple Account and its iCloud calendar unchanged.
- Use a separate, working US-region Apple Account to connect the official iCloud Calendar plugin in ChatGPT.
- From the China-region account, privately share the desired iCloud calendar with the US-region account and enable editing permissions. This is an Apple iCloud private calendar invitation, not a public subscription link.
- Accept the invitation while signed in to the US-region account.
- In ChatGPT, the official connector's
list_calendarsnow lists the China-region calendar as a shared calendar withread_only: false. Select that calendar's returnedcalendar_idfor calendar operations.
What I actually verified
- ChatGPT successfully created an event directly in the China-region shared calendar, using the official iCloud Calendar connector authenticated as the US-region account.
- A subsequent
search_eventscall returned the newly created event under the China-region calendar's ID. - The event appeared in both iPhone Calendar and Skykeep on Windows, where Skykeep was signed in to the China-region account.
- I previously confirmed that events created in a US-owned calendar could also be accessed from the China-region account after private sharing. However, sharing in both directions is not required for this workaround: sharing China → US is sufficient for ChatGPT to access and create events in the China-owned calendar.
- The connector reports the China-owned shared calendar as writable; updating and deleting events specifically in that shared calendar have not yet been separately tested, so I am not claiming those operations are verified.
Important distinctions
- The data remains owned by and stored in the China-region iCloud calendar. The US-region account only gets delegated access.
- This uses two separate Apple Accounts, not simply changing one account's App Store/Apple Account region.
- The China → US private sharing permission must remain active for the connector to keep accessing that calendar.
- It does not resolve the original
-32603error when connecting the China-region Apple Account directly. First-class China-region iCloud/CalDAV endpoint support and actionable error messages are still needed.
Hopefully this helps others who need a practical workaround while the underlying issue remains open.