I want to copy items from
CosmosDB databaseA/productCollection
to
CosmosDB databaseB/productCollection
Therefore I decided to use Azure Data Factory. I actived also "Export as-is to JSON files or Cosmos DB collection".
The read operation works as expected.
Unfortunately, the write operation stops because of an error related to the data:
ErrorCode=InvalidTemplate, ErrorMessage=Unable to parse expression 'Currency'
{
"ProductName": "Sample",
"Price": {
"@Currency": "GBP",
"$": "2624.83"
}
}
I'm not able to change to input data itself. The output data has to equal the input data.
Is there possiblity, that @Currency will not be interpreted as an expression
In ARM, this part is failling:
Price.{@Currency}


