CalDAV-Calendar: How to add iCloud-Calendar successfully?

The whole afternoon I tried to add an iCloud calendar in Sailfish OS 5.1.0.11 without luck.

In my Apple account I have set an app-specific password that is necessary in order to grant access for third-party apps to use the Apple ecosystem.

So in Thunderbird I just added this calendar as a remote network calendar with the URL https://caldav.icloud.com. Thunderbird automatically takes care of the rest and transforms this URL to https://p40-caldav.icloud.com/user-id/calendar while detecting all available calendars automatically. Each detected calendar is then added with an own URL in this logic: https://p40-caldav.icloud.com/user-id/calendar/cryptic-calendar-id and works like a charm.

However, in Sailfish OS 5.1.0.11 this does not work. I tried several different URLs, like:

None of the above URLs work properly. I always receive this error

Account error
Could not create account

Check sign-in details and try again.
Authentication failed for URL: https://p40-caldav.icloud.com/.well-known

I don’t know what else to do. Do you have any tipps how I can make this work?

Can you try this?

or this?

I also found the following which should help finding the right user id values:

Or this:

https://discussions.apple.com/thread/254109162

1 Like

Thank you very much for your help!

Unfortunately the first two screenshots didn’t help either. The WebDAV path will automatically get adjusted once tapping ā€œAcceptā€™ā€, so the whole part of the https:// segment will be missing then.

I will have a look at the GitHub link tomorrow! :grinning_face:

I’m not sure if that’s the solution? In my case, two ā€˜links’ have been generated in Thunderbird for contacts and appointments. Try setting up contacts and appointments separately.

caldav.icloud.com

contacts.icloud.com

I’ve only set up email myself at the moment. But I could test it tomorrow with the new Jolla 5.2 if needed. I hope that helps.