We recently set up a Sitecore 9.1 instance and we are using the xDB migration tool 2.1 to move our old analytics data which were used on Sitecore 8.2 update 6.
We were able to migrate the referencedata with no issue, but when we start the
"MongoDB Contacts to xConnect Migration" pipeline batch, it moves around 1000 records then fails when faced with a record from WFFM with this error:
ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Exception while iterating data. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines, pipeline step identifier: 8adcbb38-793f-44f3-b4db-9eb2ea0fb808)
ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Element 'Name' does not match any field or property of class Sitecore.DataExchange.Tools.XdbDataMigration.Models.WFFMFieldDataModel. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines, pipeline step identifier: 8adcbb38-793f-44f3-b4db-9eb2ea0fb808) ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContext context) at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args) at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1 serializer, BsonDeserializationContext context) at MongoDB.Bson.Serialization.BsonSerializer.Deserialize[TNominalType](BsonDocument document, Action`1 configurator) at Sitecore.DataExchange.Tools.XdbDataMigration.DataAccess.Readers.MongoDBCustomValuesForWFFMToXMLReader.GetFieldDataModelListFromArray(BsonArray bsonArray) at Sitecore.DataExchange.Tools.XdbDataMigration.DataAccess.Readers.MongoDBCustomValuesForWFFMToXMLReader.ReadFromArray(BsonArray array, DataAccessContext context) at Sitecore.DataExchange.DataAccess.Mappings.SequentialMappingSet.Run(MappingContext context) at Sitecore.DataExchange.Providers.XConnect.DataAccess.Writers.InteractionEventsValueWriter.WriteEvents(IEnumerable eventDataObjects, XObject parentEvent, DataAccessContext context) at Sitecore.DataExchange.DataAccess.Mappings.SequentialMappingSet.Run(MappingContext context) at Sitecore.DataExchange.Providers.XConnect.DataAccess.Writers.InteractionEventsValueWriter.WritePageViewEvents(InteractionModel interactionModel, IEnumerable eventDataObjects, DataAccessContext context) at Sitecore.DataExchange.DataAccess.Mappings.SequentialMappingSet.Run(MappingContext context) at Sitecore.DataExchange.ApplyMapping.ApplyMappingStepProcessor.ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger) at Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor.ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger) at Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor.ProcessPipeline(Pipeline pipeline, PipelineContext pipelineContext, ILogger logger) at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.ProcessPipelines(PipelineStep pipelineStep, ICollection`1 subPipelines, PipelineContext pipelineContext, ILogger logger) at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.IterateWithoutThreads(IEnumerable data, ICollection`1 pipelines, Action`1 afterElementHandled, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger) at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger) ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Pipeline step processing will abort because a critical error occurred during processing. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines) ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Sub pipeline processing will abort because a critical error occurred during processing. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines, pipeline step identifier: 8adcbb38-793f-44f3-b4db-9eb2ea0fb808, sub-pipeline: Process Single Contact from MongoDB Pipeline, sub-pipeline processor: Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor) ManagedPoolThread #6 07:48:32 INFO [Data Exchange] 1125 elements were iterated before the processor was interrupted. (pipeline: Read Contacts from MongoDB Pipeline, pipeline step: Iterate MongoDB Contacts and Run Pipelines, pipeline step identifier: 97e330a3-a2dc-426e-aa1c-02fc407c7a6e) ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Pipeline step processing will abort because a critical error occurred during processing. (pipeline: Read Contacts from MongoDB Pipeline, pipeline step: Iterate MongoDB Contacts and Run Pipelines) ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Pipeline processing will abort because a critical error occurred during processing. (pipeline batch: MongoDB Contacts to xConnect Migration, pipeline: Read Contacts from MongoDB Pipeline, pipeline processor: Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor)
Note: the step that is failing is the following step in the pipeline batch:
/sitecore/system/Data Exchange/embrace migration/Pipelines/MongoDB Contacts to xConnect Migration Pipelines/Process Single Contact from MongoDB Pipeline/Iterate MongoDB Interactions and Run Pipelines
We are also open to exclude WFFM data if there is a way to do that in the migration process