Diagnose a calendar sync
diagnose_syncExplains why one of the user's own syncs is not running, using the recorded state and reason, and names the calendars involved where they are shared with this access. Reasons are a closed set; an unrecognised one is reported as other rather than guessed, and then no next step is claimed. Also reports when copies were last written (last_synced_at) and since when the last run has been failing (error_since). It reports no event-level causes and costs no credits.
Resuming a sync the user paused works here with set_sync_paused. Reconnecting an account, reviewing the plan or replacing a calendar of an existing sync happens in the Kalender Sync app; next_step_url links to the page for the recorded next step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | A ref from a current list_syncs result, e.g. sync_2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| syncs | Yes |