Error when saving a contact to xDB

  • The following error can occur in Sitecore XP log files while saving a contact to xDB:

    ERROR General error when submitting contact.
    Exception: Sitecore.XConnect.Operations.FacetOperationException
    Message: Operation #0, AlreadyExists, <ContactId>, Classification
    Source: Sitecore.Xdb.Common.Web
    1. Check if shared session state is configured in accordance with the article (see the "Session state configuration scenarios" section).
    2. Check whether custom code (if any) that saves or modifies contacts also reloads them into the session as it described here (see the "Re-loading contact data" section).
    3. Download and install the hotfix compatible with the affected product version: Be aware that the hotfix was built for a specific Sitecore XP version, and must not be installed on other Sitecore XP versions or in combination with other hotfixes.

      Note that the ZIP file contents need to be extracted to locate installation instructions and related files inside. The hotfixes must be installed on a CM instance and then synced with other instances using standard development practices.

      Before the installation:
      1. Make sure that you do not have any other hotfixes related to the following dlls:
        • \bin\Sitecore.Analytics.DataAccess.dll
        • \bin\Sitecore.Analytics.dll
        • \bin\Sitecore.Analytics.OmniChannel.dll
        • \bin\Sitecore.Analytics.XConnect.dll
        • \bin\Sitecore.Xdb.Tracking.Client.dll
        In case any other hotfixes have already been installed on certain Sitecore XP instance, send a request for a compatibility check to Sitecore Support.
      2. Uninstall Sitecore.Support.Diagnostics.AlreadyExists diagnostics (if any).

Applies to:

CMS 9.0 Initial Release - 9.1 Update-1

CMS 9.2 Initial Release

May 29, 2019
July 01, 2020

Reference number:

203218, 251787