Getting this error when syncing a calendar: Error when synchronizing CalDAV folder ... This operation is not supported for a relative URI.

Hello,

I am getting the following error when trying to sync a calendar over CalDAV:

MailClient.Storage.Application.OperationException: Error when synchronizing CalDAV folder: System.InvalidOperationException: This operation is not supported for a relative URI.

… the same calendar syncs fine in Thunderbird/Lightning; any idea what it could be?

(the calendar is someone else’s, hosted at Fastmail and it has quite a few events;
also tested syncing a new Calendar from fastmail, works fine in eM Client)

Thanks

Version 7.1.31849.0, having the same issue. Snippet from the log:

8:12:44 AM   MailClient.Storage.Application.OperationException: Error when synchronizing CalDAV folder: System.InvalidOperationException: This operation is not supported for a relative URI.
8:12:44 AM    at System.Uri.get\_Segments()
8:12:44 AM    at MailClient.Schedule.ScheduleConvert.UpdateScheduleObjectFromComponent(IScheduleObject scheduleObject, Calendar calendar, ScheduleComponent updatingComponent, ScheduleConvertOptions options)
8:12:44 AM    at MailClient.Schedule.Event.EventComposer..ctor(Calendar calendarObject, Event clonedComponent, IEvent parentItem, Boolean removeMethod)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.EventItemSynchronizer.CreateItem(Folder folder, Component payloadComponent, Uri uri, String eTag, CancellationToken cancellationToken)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.CreateCalDavItem(Stream payloadStream, Encoding encoding, Uri uri, String eTag)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.CreateCalDavItem(ResponseItem item, Uri responseUri)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.DownloadItemsMultiget(IList`1 uris, Boolean calDav)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.DownloadCalDavItems(IList`1 uris)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.ProcessItems(Dictionary`2 items, Boolean deltaSyncReport)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.Execute(WorkerStatus status)
8:12:44 AM    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.Execute(WorkerStatus status)
8:12:44 AM    at MailClient.Commands.Command.Process(WorkerStatus status)

Two updates were added since your post. You can find them here: http://www.emclient.com/release-history. Can you update to the latest version and see if the problem persists.

If it doesn’t, try removing the CalDAV and re-adding it.

Which provider is the CalDAV with?

Hello,
the problem persists with the latest release. Our CalDAV provider is FastMail – the problem is specific to one particular user with a lot of records (calendar was migrated from different server CalDAV to Fastmail shortly ago using Fastmail import feature).

So it appears there is something in that particular calendar, that is incompatible with eM Client.

Richard, if you have a Pro License, I would suggest you open a support ticket for this. They should be able to help you.