icloud calendar sync fails. caldav value does not fall within the expected range

On Windows version 7.2.34959.0 Deciding on whether to buy the Pro version, but em Client won’t sync my iCloud calendar. It gets partially through some of the events and then this error pops up…

9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: For folder iCloud/
9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: Done
9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: For folder iCloud/Birthdays/
9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: Done
9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: For folder iCloud/notification/
9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: Done
9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: For folder iCloud/notification/notification/
9:25:20 AM iCloud [CalDAV]  Synchronizing subfolders: Done
9:25:20 AM iCloud [CalDAV]  Synchronizing items: For folder iCloud/
9:25:20 AM iCloud [CalDAV]  Synchronizing items: Sync of iCloud/ finished: 0 uploaded, 0 deleted, 0 obsolete, 0 items,  0 downloaded
9:25:20 AM iCloud [CalDAV]  Synchronizing items: Done
9:25:20 AM iCloud [CalDAV]  Synchronizing items: For folder iCloud/iCloud/
9:25:21 AM   MailClient.Storage.Application.OperationException: Error when synchronizing CalDAV folder: System.ArgumentException: Value does not fall within the expected range.
9:25:21 AM    at VObject.Property..ctor(String name, ParameterCollection parameters, Value value)
9:25:21 AM    at VObject.CalendarPropertyFactory.Create(String name, ParameterCollection parameters, Value[] values)
9:25:21 AM    at VObject.CalendarReader.LoadProperty(String line)
9:25:21 AM    at VObject.CalendarReader.LoadFromReader(Calendar calendar)
9:25:21 AM    at VObject.CalendarReader.LoadCalendar(Calendar calendar)
9:25:21 AM    at VObject.Calendar..ctor(TextReader reader)
9:25:21 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.CreateCalDavItem(Stream payloadStream, Encoding encoding, Uri uri, String eTag)
9:25:21 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.CreateCalDavItem(ResponseItem item, Uri responseUri)
9:25:21 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.DownloadItemsMultiget(IList`1 uris, Boolean calDav)
9:25:21 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.ProcessItems(Dictionary`2 items, Boolean deltaSyncReport)
9:25:21 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.Execute(WorkerStatus status)
9:25:21 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.Execute(WorkerStatus status)
9:25:21 AM    at MailClient.Commands.Command.Process(WorkerStatus status)

*bump* anyone?

Hello MrSco,

Did you try removing the account and re-configuring it in Menu > Tools > Accounts? I see that there is a strange path “Synchronizing items: For folder iCloud/iCloud/” It is possible that the calendar was just not correctly set in eM Client.

Russel

removing/adding still gives the same error. I even purchased the Pro license to see if that was the issue. same thing. errors when syncing calendar. and some of the calendar items sync up to a certain point too… so it seems there is a bug in the caldav sync code for icloud or something…