I am creating a flow which is triggered by a dashboard tile and the action is to write tile data to Azure Cosmos DB collection.
The collectionis partitioned by and ID which is an integer field.
Even though I provided the partition key value in "Partition key value" field, it always throws the following error:
{
"code": "BadRequest",
"message": "Message: {\"Errors\":[\"PartitionKey extracted from document doesn't match the one specified in the header\"]}\r\nActivityId: 1b0eb91a-6479-431c-8b26-3c57da3cfe64, Request URI: /apps/9fafd838-06d1-49bc-a854-8aa18a214421/services/78d4e987-0be0-4e26-abb3-22dbbb60f06a/partitions/108373ab-2e88-4ed7-9fd2-5367d13369be/replicas/131891964029515465p/, RequestStats: \r\nRequestStartTime: 2018-12-14T18:58:51.7746339Z, Number of regions attempted: 1\r\n, SDK: Microsoft.Azure.Documents.Common/2.1.0.0"
}
Also the header does not have "x-ms-documentdb-partitionkey" in it.
Any help resolving this would be appreciated.
Thanks.