XDb migration error : Pipeline step processing will abort because a critical error occurred during processing

WebDev

A critical error occurred during processing

As part of a Sitecore 9 migration project, I was using xDB Data Migration Tool 2.0.1 to migrate all the xDb contacts from MongoDB to xConnect. Pleaase, check https://dev.sitecore.net/Downloads/Sitecore_xDB_Data_Migration_Tool/2x/xDB_Data_Migration_Tool_201.aspx to know more about xDb migration tool and how to set it up.

After successfully setting up the tool I was able to run the pipeline as below. Pipeline

Then I stopped the te pipeline and resumed the pipeline batch on a resume mode and was getting error “Pipeline step processing will abort because a critical error occurred during processing”

I checked the log file as below.xDBLog

The physical location of log files will be your <DataFolder>/Logs/DataExchange folder.

After going through my log files I found my issue was related to duplicate Email.

If you face this issue then you can download Sitecore.Support.224729.1-2.0.1.1.zip from https://github.com/sitecoresupport/Sitecore.Support.224729.1/releases and unzip the files and copy to your Sitecore root folder as below.

bin/Sitecore.Support.224729.1.dll
App_Config/Include/zzz/Sitecore.Support.224729.1.config

Once you copy those files you have to change two configuration settings.

  1. Go to  /sitecore/system/Data Exchange/<your tenant>/Pipelines/MongoDB Contacts to xConnect Migration Pipelines/Process Single Contact from MongoDB Pipeline/Add EmailAddressHistory Facet item and change the value of the Processor Type field to:
    Sitecore.Support.CreateEmailHistoryFacetStepProcessor, Sitecore.Support.224729.1
  2. Navigate to the “/sitecore/system/Data Exchange/<Your Tenant>/Pipelines/MongoDB Contacts to xConnect Migration Pipelines/Process Single Contact from MongoDB Pipeline/Resolve Contact Model by xDB Tracker Id from xConnect”
    item and add to the “Selected” field of the “Facets to Read” field
    the “xDB Data Migration Tool/xDB Data Migration Collection Model/Facets/Contact/EmailAddressHistory” facet

Save the changes and click on Run Pipeline batch and select resume mode. to verify that the pipeline running click on show pipeline batch status. You will get a screen similar to below.

Status.PNG

 

 

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s