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.
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.
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-188.8.131.52.zip from https://github.com/sitecoresupport/Sitecore.Support.224729.1/releases and unzip the files and copy to your Sitecore root folder as below.
Once you copy those files you have to change two configuration settings.
- 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:
- 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.