Issue resolved and related to privilege provision .Extra contributor role for resource added .
ADF copy data to cosmosdb producing errors
I created a copydata pipline in azure data factory to move data from a blob to cosmos mongo api database. All necessary dataset connections connected successfully .But while i debug or execute i get the errors below relating to the sink. Is there a way to resolve this issue.
Failure happened on 'Sink' side. ErrorCode=MongoDbFailedWithMongoDbServerError,
'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=>
The operation failed with server error.
ConnectionId: '{ ServerId : { ClusterId : 1,
EndPoint : "Unspecified/cscdevmongocosmosdbconv-canadacentral.mongo.cosmos.azure.com:10255" },
LocalValue : 5,
ServerValue : "936468714" }'.,
Source=Microsoft.DataTransfer.Runtime.MongoDbAtlasConnector,''
Type=MongoDB.Driver.MongoBulkWriteException`1[[MongoDB.Bson.BsonDocument,
MongoDB.Bson,
Version=2.10.4.0,
Culture=neutral,
PublicKeyToken=15b1115599983c50]],
Message=A bulk write operation resulted in one or more errors.
Error=13, Details='Insert error.
Error=13, Details='Insert error.
2 answers
Sort by: Most helpful
-
Shittu Adesoji (NHQ-AC-CONSULTANT) 5 Reputation points
2023-01-31T22:01:39.74+00:00 -
Shittu Adesoji (NHQ-AC-CONSULTANT) 5 Reputation points
2023-01-31T22:03:56.6166667+00:00 Extra contributor role for resource added to current roles.