jobisoft / TbSync

[Thunderbird Add-On] Central user interface to manage cloud accounts and to synchronize their contact, task and calendar information with Thunderbird
https://github.com/jobisoft/TbSync/wiki/About:-TbSync
Mozilla Public License 2.0
801 stars 54 forks source link

Random error with outlook.com calendar: Invalid synchronization key (status 9) #716

Closed misar1 closed 5 months ago

misar1 commented 5 months ago

Windows 10 and 11 (two separate systems running TB) TbSync version: 4.8 Provider for EAS: 4.8 Thunderbird version: 115.8.0 (64 bit)

Much of the time TbSync works correctly but there is an apparently random error as stated. This is annoying because instead of just reporting a non-fatal error TbSync deselects the outlook calendar and deletes all entries in the local TB calendar. If the calendar is immediately reselected and synchronized TbSync works correctly and restores all entries.

Invalid synchronization key (status 9) Account Outlook (EAS)

Request: ?xml version="1.0"? FolderSync xmlns='FolderHierarchy' SyncKey2/SyncKey /FolderSync

Response: ?xml version="1.0"? FolderSync xmlns='FolderHierarchy' Status9/Status /FolderSync

jobisoft commented 5 months ago

Did you clone the Thunderbord profile from one machine to the other, so both are using the same DeviceID? EAS is a state-based sync and if two systems use the same DeviceID, it will cause sync errors.

misar1 commented 5 months ago

Yes, with two different profiles (work and personal) on each PC. I checked the ID for each profile and as you say in each case it is the same on both PCs. Is it possible to change the ID of one installation, e.g. by reinstalling Provider for EAS? Thanks.

jobisoft commented 5 months ago

No, you have to delete the TbSync accounts on one PC and re-create them fresh. On the other PC, you should disable the accounts and re-enable them, to get a clean sync state, or re-create the accounts there as well.

misar1 commented 5 months ago

I did as you suggested and that seems to have fixed the error. Thanks again for your help.