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. Install the hotfix corresponding to your Sitecore Experience Platform version:
      See the readme.txt file inside the archive for installation instructions.

      Note: These packages are specific to Sitecore XP versions. After applying the hotfix, you must not install any Sitecore XP updates until Sitecore includes the changes associated with the hotfix in a public update.

      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
        If you do, contact Sitecore Support to get the hotfix for your environment.
      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
September 03, 2019

Reference number:

203218, 251787