I am migrating a SharePoint Document library from SharePoint 2013 to SharePoint Online, I am getting multiple errors in the migration task folder with the following message: Message:An item with the same key has already been added. The folder contains 6500 pdf documents and any of them is moved to the sharepoint online. The complete error is the following:
There is a error for each file in the source.
TimeStamp:11/20/2021 2:57:52 AM Package#:[0] EventType:[JOBERROR] PackageID:[cfed0f3e-6c0d-4f7f-ada2-2eaa75db6d0f] JobID:[8591b3c2-5902-43f7-b2d0-7a2760db1b11] FilesCreated:0/200
Event:JobError
JobId:8591b3c2-5902-43f7-b2d0-7a2760db1b11
Time:11/20/2021 02:57:52.028
TotalRetryCount:0
MigrationType:None
MigrationDirection:Import
ObjectType:ListItem
Url:Encounter2013/2013/August/CBO_Encounter_MCBAS1_20130801_10_00_33.pdf
Id:e7fc1277-f274-44bb-84ae-10ff0d6164f1
SourceListItemIntId:33319
TargetListItemIntId:33319
ErrorCode:-2147024809
ErrorType:System.ArgumentException
Message:An item with the same key has already been added. CallStack -- at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Microsoft.SharePoint.Deployment.FileSerializer.GetMetaInfo(SerializationInfoHelper infoHelper) at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, SPResourcePath& filePath, Boolean fileExistsInDb, Boolean isFirstVersion, Nullable
1 isLastVersion, Boolean hasWebParts, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)
at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileAndAssocData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, SPResourcePath& filePath, Boolean fileExistsInDb, Nullable`1 isLastVersion, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context, ISurrogateSelector selector)
at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItem(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, SPResourcePath& listItemServerRelativePath, Boolean bIsPublish, Boolean exists, Boolean isLastVersion, StreamingContext context, ISurrogateSelector selector, LoggerStatistics stats)
at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
CorrelationId:42d704a0-e064-1000-2658-7cc483a772c3