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?

Hi @GBoulvin,
Thanks for the feedback. The log shows that Google lists an event from your main calendar that it then fails to retrieve (404). The CalDAV library was causing the entire calendar to fail. I just released a new version that reads the calendar differently and only ignores the problematic item (a warning indicates this in the logs) with an additional option in the config « Detailed Logs ».
It also adds a list of providers (Google, iCloud…), as you suggested.

Can you try again and check the logs to see if any errors appear, please? Don’t hesitate to send the logs privately if there are still errors; there might be personal emails and information in the logs.

Well done, it’s perfect! No sync issues, no error messages.

And the list is great!

Thanks!

No error messages in the logs either? Are all your events there?

No, nothing and everything is fine there.

Here, 316 synchronized events, today 460 so the blockage has indeed been lifted…