ADF Pipeline Error When Moving Data from one CosmosDB Account to Other

Taranjeet Malik 421 Reputation points
2024-03-20T00:51:13.5633333+00:00

Hi

I'm trying to setup a Data Flow to move documents from one CosmosDB collection to another and getting the following error:

Job failed due to reason: at Sink 'TargetdevicemanagementeventsINsitpemssharedcosmos': {"innerErrorMessage":"All retries exhausted for 'UPSERT' bulk operation - statusCode=[400:0] itemId=[7d5ed366-10c3-4860-8374-5b8973609102], partitionKeyValue=[[{}]]"}

I can't find the itemID mentioned in the above error in the source CosmosDB collection. If I re-run the pipeline, it fails with the same error, but for a different itemID every time.

Can someone please share some ideas as to what to look for or if they've seen this before?

Thanks

Taranjeet Singh

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,447 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,594 questions
{count} votes