This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lightning won't sync with iCloud Calendar

more options

Attempt to add calendar in Lightning. File - New - Calendar. Create a new calendar - On the Network. CalDAV. Location: https://p01-caldav.icloud.com/<somenumbers>)/calendars/<CalendarName>/. Offline Support checked. Name: CalendarName. Show Reminders: checked. Email: None. Then it says "Your calendar has been created" and a pop-up appears with: Authentication Required - A username and password are being requested by https://p01-caldav.icloud.com. The site says: "MMCalDav" - User Name: <here I add my user name> - Password: <here I add my password> and click OK. Calendar is shown, but greyed-out. Go to properties to "Switch this calendar on" and it turns on for a microsecond, then greys-out again. Need help. Suggestions? Thanks

Attempt to add calendar in Lightning. File - New - Calendar. Create a new calendar - On the Network. CalDAV. Location: https://p01-caldav.icloud.com/<somenumbers>)/calendars/<CalendarName>/. Offline Support checked. Name: CalendarName. Show Reminders: checked. Email: None. Then it says "Your calendar has been created" and a pop-up appears with: Authentication Required - A username and password are being requested by https://p01-caldav.icloud.com. The site says: "MMCalDav" - User Name: <here I add my user name> - Password: <here I add my password> and click OK. Calendar is shown, but greyed-out. Go to properties to "Switch this calendar on" and it turns on for a microsecond, then greys-out again. Need help. Suggestions? Thanks

Valgt løsning

I would say you have the wrong URL. given the caldav protocol is basically a web page request, the 404 error has the same meaning as in a web page "Page not found"

I would almost guarantee that the XXXXXXXX part is not correct or that calendarname is also in error.

without looking I would say calendarname should be you calendar name, like business or whatever else you called it and the XXXXXXX part should be your user name or the like on icloud.

Looking here suggests the naming convention of https://p01-caldav.icloud.com/<user_id>/calendars/<calendar_id>/

Where the bits in <> are replaced with YOUR DETAILS.

Les dette svaret i sammenhengen 👍 1

All Replies (4)

more options

open the error console. (ctrl+J) Clear it. enable the calendar again. What appears in the error console. I expect some sort of authentication issue. But I do think we will see something.

more options

Matt, many thanks for the reply. Below is the error console info. Does it mean I don't have the correct address for the calendar?

[calCachedCalendar] Performing playback operation add on 0 items to CalendarName [calCachedCalendar] Performing playback operation modify on 0 items to CalendarName [calCachedCalendar] Performing playback operation delete on 0 items to CalendarName [calCachedCalendar] Doing changelog based sync for calendar https://p01-calendars.icloud.com/xxxxxxxx/calendars/CalendarName/ CalDAV: send: <D:propfind xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:prop><D:resourcetype/><D:owner/><D:current-user-principal/><D:supported-report-set/><C:supported-calendar-component-set/><CS:getctag/></D:prop></D:propfind> CalDAV: Status 404 on initial PROPFIND for calendar CalendarName Timestamp: 08-Oct-16 07:38:22 Error: [calCachedCalendar] replay action failed: null, uri=https://p01-calendars.icloud.com/xxxxxxxxx/calendars/CalendarName/, result=2147500037, op=[xpconnect wrapped calIOperation] Source File: file:///C:/Program%20Files%20(x86)/Thunderbird/xxxxxxxx/extensions/%5Be4fda1a6-582b-4020-b5ad-a41df1955203%7D/calendar-js/calCachedCalendar.js Line: 327 [calCachedCalendar] replayChangesOn finished. [calCachedCalendar] sync queue empty

more options

Valgt løsning

I would say you have the wrong URL. given the caldav protocol is basically a web page request, the 404 error has the same meaning as in a web page "Page not found"

I would almost guarantee that the XXXXXXXX part is not correct or that calendarname is also in error.

without looking I would say calendarname should be you calendar name, like business or whatever else you called it and the XXXXXXX part should be your user name or the like on icloud.

Looking here suggests the naming convention of https://p01-caldav.icloud.com/<user_id>/calendars/<calendar_id>/

Where the bits in <> are replaced with YOUR DETAILS.

more options

IT WORKED! Ok, so I have OHS!! Operator Headspace. I mean I did check to be sure the computer was on first! Dang if I didn't try that <a href="https://discussions.apple.com/thread/6065583?tstart=0">here<\a> before I got to Moz Support and thppptttt, it didn't work. Now FM!!!! Matt, huge thanks for asking me to walk back through the basics. Would still love to know what the true <user id> is. Thanks for the Help! IY