Hi @Bhargava-MSFT , @Sajeetharan
We're facing similar errors while trying to restore the collections to azure cosmos dB for mongo api serverless vcore model database using adf pipeline's copy activity task, the weird issue is that it has been the issue with only four set of collections json where as it succeeds fine for the rest of 15 collections with in the source database, so have been wondering on what's the issue with these four collections json files, any ideas?
I've been searching online and the forum/community for similar questions and answers and came across this thread https://learn.microsoft.com/en-us/answers/questions/804862/copy-data-from-mongodb-3-2-)-mongodb-3-6-fails-mongodb-3-6-fails) where the author concluded that the issue was with the element name character length however our collections names are normal like 'researches', 'people' etc., so I'd really need some help or guidance on how to mitigate this error and get the json collections restored to our destined cosmos db.
Exception received is as below:
"Code": 23405,
"Message": "Failure happened on 'Sink' side. ErrorCode=MongoDbOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=>Failed to operate data via MongoDB client.,Source=Microsoft.DataTransfer.Runtime.MongoDbAtlasConnector,''Type=MongoDB.Bson.BsonSerializationException,Message=Element name '@odata.context' is not valid'.,Source=MongoDB.Bson,'",
"EventType": 0,
"Category": 5,
"Data": {
"FailureInitiator": "Sink"
},