ADF copy error


  • Hi,

    I am trying to copy 700GB file from ADLS to CosmosDB and I am getting error : Message=Partition range id 0 | Failed to import mini-batch. Exception was Message: {\"Errors\":[\"Encountered exception while executing function. Exception = Error: {\\\"Errors\\\":[\\\"Resource with specified id or name already exists.\\\"]}\

    I understand that there might be dups, but I want to know which id is the cause behind this error? I removed all the dups from source but I am still getting the error, so I want to know where things are going wrong

    So my question is: How can I get the Id which is causing problem? I am using ADF UI


    Wednesday, July 18, 2018 11:52 PM

All replies

  • Hi,

    I'm afraid it's hard to identify the dups which cause the problem. All you need is the 'Upsert' support in CosmosDB. This function will be available before the end of this week, thanks for your patience again.

    Thursday, July 19, 2018 12:25 AM
  • Hi,

    The 'Upsert' function in CosmosDB is supported now in ADFv2, please go to try it.


    Saturday, July 21, 2018 1:59 AM