External CalDav integration

Hello @bertrandda!

I’m testing the external CalDav integration that will replace the original one and I’m having an issue.

I’m using Google Calendar. After adding my main account (I went back to check the original integration to get the address and it would be interesting if it were offered in a list for example), an error appears. It says that 6 calendars have been synchronized but one is in error.

I discovered that the one causing the problem is the one from my main account. In the logs, you can see this:

[2026-11-04T22:24:20.227Z] [INFO] Action sync_now
[2026-11-04T22:24:34.860Z] [INFO] [scheduler] gwenael: 6 calendar(s), 361 event(s) synced, 1 calendar(s) failed
[2026-11-04T22:24:36.776Z] [ERROR] [sync] gwenael: sync of calendar "XXXXXXXX@gmail.com" failed Error: Collection query failed: 404 Not Found. 
    at collectionQuery (file:///app/node_modules/tsdav/dist/tsdav.mjs:675:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async fetchCalendarObjects (file:///app/node_modules/tsdav/dist/tsdav.mjs:1371:34)
    at async DAVClient.invoke (file:///app/node_modules/tsdav/dist/tsdav.mjs:2536:10)
    at async Object.fetchObjects (file:///app/src/caldav.js:89:23)
    at async syncAccount (file:///app/src/sync.js:150:24)
    at async SyncManager.runPass (file:///app/src/scheduler.js:201:23)
[2026-11-04T22:24:36.776Z] [INFO] [scheduler] gwenael: 6 calendar(s), 361 event(s) synced, 1 calendar(s) failed

Any ideas?