Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3753

x-ms-documentdb-partitionkey issue with hirarchical partition key

$
0
0

We are trying to create a cosmos DB document with REST API Call. We have create hirarchical partition key like /id, /date. Now when WE pass

x-ms-documentdb-partitionkey

in header with ["value","value1"] we are getting below error.

We have also added x-ms-documentdb-partitionkey-kind with HASH value.

The 'kind' value 'MultiHash' specified in the partition key definitionis invalid. Please choose 'Hash' partition type.


Viewing all articles
Browse latest Browse all 3753

Trending Articles