# CALDAV integration: issue with Infomaniak

**URL:** <https://community.gladysassistant.com/t/integration-caldav-pb-avec-infomaniak/11699>\
**Category:** Configuration\
**Tags:** integration-externe\
**Created:** [November 29, 2026, 7:36pm UTC](https://community.gladysassistant.com/t/integration-caldav-pb-avec-infomaniak/11699 "2026-11-29T19:36:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [November 29, 2026, 7:36pm UTC](https://community.gladysassistant.com/t/integration-caldav-pb-avec-infomaniak/11699/1 "2026-11-29T19:36:47Z")

</div>

Hi @prohand … EDIT: Oh wait, it’s @bertrandda!  
I’m having trouble connecting with Infomaniak for the CALDAV integration (I’ve checked, the password is correct). It works perfectly with the internal integration … which is deprecated.  
Here are the logs:

```json
[2026-11-29T19:33:34.856Z] [INFO] onCalendarAccountUpdated <- stephane
[2026-11-29T19:33:35.294Z] [ERROR] [scheduler] stephane: CalDAV sync failed Error: CalDAV discovery failed: Invalid credentials: PROPFIND https://sync.infomaniak.com/ returned 401 Unauthorized
    at SyncManager.createCalDavClient [as createClient] (file:///app/src/caldav.js:170:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async SyncManager.runPass (file:///app/src/scheduler.js:200:22) {
  [cause]: Error: Invalid credentials: PROPFIND https://sync.infomaniak.com/ returned 401 Unauthorized
      at fetchPrincipalUrl (file:///app/node_modules/tsdav/dist/tsdav.mjs:2083:39)
      at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
      at async findPrincipalUrl (file:///app/node_modules/tsdav/dist/tsdav.mjs:2141:20)
      at async createAccount (file:///app/node_modules/tsdav/dist/tsdav.mjs:2158:37)
      at async DAVClient.login (file:///app/node_modules/tsdav/dist/tsdav.mjs:2540:37)
      at async SyncManager.createCalDavClient [as createClient] (file:///app/src/caldav.js:168:5)
      at async SyncManager.runPass (file:///app/src/scheduler.js:200:22)
}
[2026-11-29T19:33:41.719Z] [INFO] Action sync_now
[2026-11-29T19:33:42.110Z] [ERROR] [scheduler] stephane: CalDAV sync failed Error: CalDAV discovery failed: Invalid credentials: PROPFIND https://sync.infomaniak.com/ returned 401 Unauthorized
    at SyncManager.createCalDavClient [as createClient] (file:///app/src/caldav.js:170:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async SyncManager.runPass (file:///app/src/scheduler.js:200:22) {
  [cause]: Error: Invalid credentials: PROPFIND https://sync.infomaniak.com/ returned 401 Unauthorized
      at fetchPrincipalUrl (file:///app/node_modules/tsdav/dist/tsdav.mjs:2083:39)
      at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
      at async findPrincipalUrl (file:///app/node_modules/tsdav/dist/tsdav.mjs:2141:20)
      at async createAccount (file:///app/node_modules/tsdav/dist/tsdav.mjs:2158:37)
      at async DAVClient.login (file:///app/node_modules/tsdav/dist/tsdav.mjs:2540:37)
      at async SyncManager.createCalDavClient [as createClient] (file:///app/src/caldav.js:168:5)
      at async SyncManager.runPass (file:///app/src/scheduler.js:200:22)
}

```

Wouldn’t it be possible to “migrate” what we already have in the internal integration to the external one?

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [November 29, 2026, 8:27pm UTC](https://community.gladysassistant.com/t/integration-caldav-pb-avec-infomaniak/11699/2 "2026-11-29T20:27:16Z")

</div>

Hi @mutmut, are you talking about the `gladys-caldav-sync` integration?

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [November 29, 2026, 10:10pm UTC](https://community.gladysassistant.com/t/integration-caldav-pb-avec-infomaniak/11699/3 "2026-11-29T22:10:59Z")

</div>

😵 oh my god yes, I’m tired now

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/2/52556d25ee60772c182a93e837b9c6b9bd60ee69.png)  
Ok so:

- it’s not @prohand, it’s @bertrandda (I’ll modify my first post)
- @bertrandda can you look at it please?
- I’m going to bed… see you tomorrow 😴

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [November 29, 2026, 10:50pm UTC](https://community.gladysassistant.com/t/integration-caldav-pb-avec-infomaniak/11699/4 "2026-11-29T22:50:09Z")

</div>

Ok thanks, there is a suspicion about the encoding of the authentication. If your password contains an accented or special character (é, à, ç, °, £, €…), don’t give it to me, just tell me yes or no. In this case, the integration wasn’t sending it in the same encoding as the old one, and Infomaniak was refusing it (the 401 in your logs). It’s fixed, it’s in the next version which is being released.

The identifier you are using is in the format `AB12345` (visible in the Infomaniak synchronization assistant), not your email address?

> [@mutmut](#):
>
> Wouldn’t it be possible to “migrate” what we already have in the internal integration to the external one?

For the migration: the external integration runs in an isolated container and does not have access to the settings of the old integration. You therefore need to re-enter the three fields in the « My Calendars » block. Then remember to disable the old integration, otherwise your events will be duplicated. The migration concept we have on other integrations is associated with the Device/DeviceFeature models of the core, in the case of caldav, the integration touches the Calendar/Event models which does not have a migration system at the moment
