Foren / Allocatus Forum (English) / Sync for user stops due to EventItemCountMismatchException

Sync for user stops due to EventItemCountMismatchException

2 Beiträge, 1 beantwortet
  1. maximilian.muenst
    maximilian.muenst avatar
    4 Beiträge
    Mitglied seit:
    26 Jul 2016
    14 Jan 2021
    Auf diesen Beitrag verlinken
    Sometimes I get the following error during synchronization of a user:

    The synchronization for this user is being stopped.
    Reason: Allocatus tried to get all calendar events for <username>.
    The query with the url: '' returned 7598 items, but should have returned 7599 items. This mismatch of the item count can be caused by Microsoft Exchange or if you add/delete calendar events while Allocatus loads the events. To prevent problems in the synchronization Allocatus stops synchronizing this user in this cycle. In the next cycle this user will be synchronized normally again.

    What does this mean and is it a critical problem?
  2. allocatus.admin
    allocatus.admin avatar
    39 Beiträge
    Mitglied seit:
    17 Mai 2016
    14 Jan 2021 als Antwort auf maximilian.muenst
    Auf diesen Beitrag verlinken
    maximilian.muenst said:
    What does this mean and is it a critical problem?

    this is not a critical problem. This is a safety feature.
    During a sync cycle Allocatus loads all your calendar events from Microsoft Exchange to compare them to the data that Allocatus has in the database. We have experienced that Exchange sometimes does not deliver all of the items in an users calendar due to a problem in Exchange. If Allocatus gets less or more events as Exchange claims to have, we stop the synchronization as this could lead to unwanted behavior in Allocatus. E.g. Allocatus could recognize calendar events as deleted and re-add them to the calendar and then they are in the calendar twice. 
    In the next synchronization Allocatus will synchronize this user correct again.
2 Beiträge, 1 beantwortet