CalDAV folder synchronization error

Hello everybody,

For a few days, a message appears indicating a problem with synchronization of my calendar:

[CalDAV/CardDAV] CalDAV folder synchronization error: Microsoft. Data. Sqlite. SqliteException (0x80004005): SQLite Error 19: ‘UNIQUE constraint failed: ContactCategoryNames. categoryName, ContactCategoryNames. id’.
at Microsoft. Data. Sqlite. SqliteException. ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft. Data. Sqlite. SqliteDataReader. NextResult()
at Microsoft. Data. Sqlite. SqliteCommand. ExecuteReader(CommandBehavior behavior)
at Microsoft. Data. Sqlite. SqliteCommand. ExecuteReader()
at Microsoft. Data. Sqlite. SqliteCommand. ExecuteScalar()
at MailClient. Storage. Data. DbCommandExtensions. ExecuteScalarClearParams(IDbCommand command)
at MailClient. Storage. Data. DbItemRepository’1. StoreCategoryName(UInt64 parentId, String categoryName)
at MailClient. Storage. Contact. Data. DbContactRepository. <>c__DisplayClass114_0. b__6(String i)
at MailClient. Storage. Data. ImmutableValueSet1. From(IEnumerable1 values, Func2 storeValue, IEqualityComparer1 compare)
at MailClient. Storage. Contact. Data. DbContactRepository. Store(IContactRepositoryItem contact)
at MailClient. Storage. Data. DbRepository1. Add[ST](Object senderContext, IEnumerable1 items)
at MailClient. Storage. Attachment. Data. ItemWithAttachmentRepositoryAdapter1. Add[ST](Object senderContext, IEnumerable1 items)
at MailClient. RepositoryExtensions. Add[T,ST](IRepository1 repository, IEnumerable1 items)
at MailClient. Protocols. CalDav. Synchronizer. ContactItemSynchronizer. CreateItem(Folder folder, Component componentPayload, Uri uri, String eTag, CancellationToken cancellationToken)
at MailClient. Protocols. CalDav. Synchronizer. SynchronizeItemsCommand. CreateCardDavItem(Stream payloadStream, Uri uri, String eTag)
at MailClient. Protocols. CalDav. Synchronizer. SynchronizeItemsCommand. CreateCardDavItem(ResponseItem item, Uri responseUri)
at MailClient. Protocols. CalDav. Synchronizer. SynchronizeItemsCommand. DownloadItemsMultiget(IList1 uris, Boolean calDav) at MailClient. Protocols. CalDav. Synchronizer. SynchronizeItemsCommand. DownloadCardDavItems(IList1 uris)
at MailClient. Protocols. CalDav. Synchronizer. SynchronizeItemsCommand. g__AddOrDownloadItems|14_0(DownloadItemType type, Uri uri, Action’1 downloadAction, <>c__DisplayClass14_0& )
at MailClient. Protocols. CalDav. Synchronizer. SynchronizeItemsCommand. ProcessItems(Dictionary`2 items, Boolean deltaSyncReport)
at MailClient. Protocols. CalDav. Synchronizer. SynchronizeItemsCommand. Execute(WorkerStatus status)

I haven’t changed anything in my configuration. I contacted the support of my email host who told me that everything is OK with them.

Can you help tell me how to fix this problem ?

Thank you in advance !

Sincerely,

Snoopy

This is a database error.

You can remove the account, which will remove that part of the database and the error, then add it back again.