Upsert Operation in Cosmos DB using Azure Data Factory

  • Comments posted to this topic are about the item Upsert Operation in Cosmos DB using Azure Data Factory

  • So, how to handle unique key values while performing the Upsert operation via ADF.

    I am facing the below issue.

    Failure happened on 'Sink' side. ErrorCode=UserErrorDocumentDBWriteError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Documents failed to import. Error message:Message: {"Errors":["Encountered exception while executing function. Exception = Error: {\"Errors\":[\"Unique index constraint violation.\"]}\r\nStack trace: Error: {\"Errors\":[\"Unique index constraint violation.\"]}\n at createCallback (script.js:6350:26)\n at Anonymous function (script.js:760:29)"]}

  • So, how to handle unique key values while performing the Upsert operation via ADF.

    I am facing the below issue.

    Failure happened on 'Sink' side. ErrorCode=UserErrorDocumentDBWriteError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Documents failed to import. Error message:Message: {"Errors":["Encountered exception while executing function. Exception = Error: {\"Errors\":[\"Unique index constraint violation.\"]}\r\nStack trace: Error: {\"Errors\":[\"Unique index constraint violation.\"]}\n at createCallback (script.js:6350:26)\n at Anonymous function (script.js:760:29)"]}

  • This was removed by the editor as SPAM

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply