Create a document in Cosmos DB via Logic App and PartitionKey mismatch in document & headerCreate PartitionKey from a Document and a PartitionKeyDefinitionPartitionKey extracted from document doesn't match the one specified in the headerManually creating document in Cosmos DB collectionPartitionKey property in Cosmos DB needs to be a string always?creating consumers on cosmos DB logical partition keyCreate a Collection with PartitionKey in CosmosDBDocument count query ignores PartitionKeyEncode PartitionKey into Document Id?Problems inserting document with Mongodb and Logic AppsLogic App - PartitionKey extracted from document doesn't match the one specified in the header
Scam? Phone call from "Department of Social Security" asking me to call back
Number in overlapping range
The more + the + comparative degree
Are there any low-level means to *exit* the Ethereal plane to a plane of my choosing?
Is there a fallacy about "appeal to 'big words'"?
List, map function based on a condition
What is the opposite of "hunger level"?
What should I do with the stock I own if I anticipate there will be a recession?
Doesn't the speed of light limit imply the same electron can be annihilated twice?
What should we do with manuals from the 80s?
Souce that you can't you tell your wife not to lend to others?
Sum Square Difference, which way is more Pythonic?
Why aren't rockets built with truss structures inside their fuel & oxidizer tanks to increase structural strength?
What can I do to increase the amount of LEDs I can power with a pro micro?
What's the relationship betweeen MS-DOS and XENIX?
Are there liquid fueled rocket boosters having coaxial fuel/oxidizer tanks?
How do I call a 6-digit Australian phone number with a US-based mobile phone?
How can I find files in directories listed in a file?
What was the intention with the Commodore 128?
Why did IBM make the PC BIOS source code public?
Are there really no countries that protect Freedom of Speech as the United States does?
How to gracefully leave a company you helped start?
Is the Microsoft recommendation to use C# properties applicable to game development?
Is there any official ruling on how characters go from 0th to 1st level in a class?
Create a document in Cosmos DB via Logic App and PartitionKey mismatch in document & header
Create PartitionKey from a Document and a PartitionKeyDefinitionPartitionKey extracted from document doesn't match the one specified in the headerManually creating document in Cosmos DB collectionPartitionKey property in Cosmos DB needs to be a string always?creating consumers on cosmos DB logical partition keyCreate a Collection with PartitionKey in CosmosDBDocument count query ignores PartitionKeyEncode PartitionKey into Document Id?Problems inserting document with Mongodb and Logic AppsLogic App - PartitionKey extracted from document doesn't match the one specified in the header
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
So I'm trying to create an Azure Logic App which will create a new record inside a Cosmos DB collection to store review results.
I've created a Cosmos DB database (called icecream
) + collection (called reviews
). The PartitionKey of the reviews
collection is /flavorIdentifier
.
In my Logic App I have a step which inserts a new document.
The code looks like this.
"Create_review":
"inputs":
"body":
"flavor": "@body('JSON_parseren_2')?['flavor']",
"flavorIdentifier": "@body('JSON_parseren')?['itemOrdered']",
"id": "@guid()",
"review": "@body('E-mail_met_opties_verzenden')?['SelectedOption']"
,
"headers":
"x-ms-documentdb-raw-partitionkey": "@body('JSON_parseren')?['itemOrdered']"
,
"host":
"connection":
"name": "@parameters('$connections')['documentdb']['connectionId']"
,
"method": "post",
"path": "/dbs/@encodeURIComponent('icecream')/colls/@encodeURIComponent('reviews')/docs"
,
"runAfter":
"E-mail_met_opties_verzenden": [
"Succeeded"
]
,
"type": "ApiConnection"
,
So, I'm posting the message to Cosmos DB
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
As you can see, I also specified the partition key to the same value as flavorIdentifier
.
My guess is this should just work. But it doesn't
The error I'm receiving states
PartitionKey extracted from document doesn't match the one specified in the header
Which is strange, as both have the same value, also when checking the raw input and output. Is there anything I'm overlooking?
For completeness, the full input and output of this step.
The raw input of the failed step.
"host":
"connection":
"name": "/subscriptions/3b3729b4-021a-48b5-a2eb-47be0c7e7f44/resourceGroups/developerday-workshop/providers/Microsoft.Web/connections/documentdb"
,
"method": "post",
"path": "/dbs/icecream/colls/reviews/docs",
"headers":
"x-ms-documentdb-raw-partitionkey": "3"
,
"body":
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
The raw output of the failed step.
"statusCode": 400,
"headers":
"x-ms-last-state-change-utc": "Wed,27 Mar 2019 05:03:54.568 GMT",
"lsn": "1",
"x-ms-schemaversion": "1.7",
"x-ms-quorum-acked-lsn": "1",
"x-ms-substatus": "1001",
"x-ms-current-write-quorum": "3",
"x-ms-current-replica-set-size": "4",
"x-ms-xp-role": "1",
"x-ms-global-Committed-lsn": "1",
"x-ms-number-of-read-regions": "0",
"x-ms-transport-request-id": "1",
"x-ms-cosmos-llsn": "1",
"x-ms-cosmos-quorum-acked-llsn": "1",
"x-ms-session-token": "1",
"x-ms-request-charge": "1.24",
"x-ms-serviceversion": "version=2.2.0.0",
"x-ms-activity-id": "bd428162-ec1a-4f50-879a-04b8ca0817a1",
"Strict-Transport-Security": "max-age=31536000",
"x-ms-gatewayversion": "version=2.2.0.0",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Date": "Wed, 27 Mar 2019 11:39:57 GMT",
"Content-Length": "1149",
"Content-Type": "application/json"
,
"body":
"code": "BadRequest",
"message": "Message: "Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]rnActivityId: bd428162-ec1a-4f50-879a-04b8ca0817a1, Request URI: /apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, RequestStats: rnRequestStartTime: 2019-03-27T11:39:57.0795308Z, RequestEndTime: 2019-03-27T11:39:57.0995601Z, Number of regions attempted: 1rnResponseTime: 2019-03-27T11:39:57.0995601Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-westeurope1-fd21.documents.azure.com:16833/apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, LSN: 1, GlobalCommittedLsn: 1, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 1001, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 1, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Creatern, SDK: Microsoft.Azure.Documents.Common/2.2.0.0"
Any thoughts?
azure-cosmosdb azure-logic-apps
add a comment |
So I'm trying to create an Azure Logic App which will create a new record inside a Cosmos DB collection to store review results.
I've created a Cosmos DB database (called icecream
) + collection (called reviews
). The PartitionKey of the reviews
collection is /flavorIdentifier
.
In my Logic App I have a step which inserts a new document.
The code looks like this.
"Create_review":
"inputs":
"body":
"flavor": "@body('JSON_parseren_2')?['flavor']",
"flavorIdentifier": "@body('JSON_parseren')?['itemOrdered']",
"id": "@guid()",
"review": "@body('E-mail_met_opties_verzenden')?['SelectedOption']"
,
"headers":
"x-ms-documentdb-raw-partitionkey": "@body('JSON_parseren')?['itemOrdered']"
,
"host":
"connection":
"name": "@parameters('$connections')['documentdb']['connectionId']"
,
"method": "post",
"path": "/dbs/@encodeURIComponent('icecream')/colls/@encodeURIComponent('reviews')/docs"
,
"runAfter":
"E-mail_met_opties_verzenden": [
"Succeeded"
]
,
"type": "ApiConnection"
,
So, I'm posting the message to Cosmos DB
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
As you can see, I also specified the partition key to the same value as flavorIdentifier
.
My guess is this should just work. But it doesn't
The error I'm receiving states
PartitionKey extracted from document doesn't match the one specified in the header
Which is strange, as both have the same value, also when checking the raw input and output. Is there anything I'm overlooking?
For completeness, the full input and output of this step.
The raw input of the failed step.
"host":
"connection":
"name": "/subscriptions/3b3729b4-021a-48b5-a2eb-47be0c7e7f44/resourceGroups/developerday-workshop/providers/Microsoft.Web/connections/documentdb"
,
"method": "post",
"path": "/dbs/icecream/colls/reviews/docs",
"headers":
"x-ms-documentdb-raw-partitionkey": "3"
,
"body":
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
The raw output of the failed step.
"statusCode": 400,
"headers":
"x-ms-last-state-change-utc": "Wed,27 Mar 2019 05:03:54.568 GMT",
"lsn": "1",
"x-ms-schemaversion": "1.7",
"x-ms-quorum-acked-lsn": "1",
"x-ms-substatus": "1001",
"x-ms-current-write-quorum": "3",
"x-ms-current-replica-set-size": "4",
"x-ms-xp-role": "1",
"x-ms-global-Committed-lsn": "1",
"x-ms-number-of-read-regions": "0",
"x-ms-transport-request-id": "1",
"x-ms-cosmos-llsn": "1",
"x-ms-cosmos-quorum-acked-llsn": "1",
"x-ms-session-token": "1",
"x-ms-request-charge": "1.24",
"x-ms-serviceversion": "version=2.2.0.0",
"x-ms-activity-id": "bd428162-ec1a-4f50-879a-04b8ca0817a1",
"Strict-Transport-Security": "max-age=31536000",
"x-ms-gatewayversion": "version=2.2.0.0",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Date": "Wed, 27 Mar 2019 11:39:57 GMT",
"Content-Length": "1149",
"Content-Type": "application/json"
,
"body":
"code": "BadRequest",
"message": "Message: "Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]rnActivityId: bd428162-ec1a-4f50-879a-04b8ca0817a1, Request URI: /apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, RequestStats: rnRequestStartTime: 2019-03-27T11:39:57.0795308Z, RequestEndTime: 2019-03-27T11:39:57.0995601Z, Number of regions attempted: 1rnResponseTime: 2019-03-27T11:39:57.0995601Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-westeurope1-fd21.documents.azure.com:16833/apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, LSN: 1, GlobalCommittedLsn: 1, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 1001, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 1, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Creatern, SDK: Microsoft.Azure.Documents.Common/2.2.0.0"
Any thoughts?
azure-cosmosdb azure-logic-apps
add a comment |
So I'm trying to create an Azure Logic App which will create a new record inside a Cosmos DB collection to store review results.
I've created a Cosmos DB database (called icecream
) + collection (called reviews
). The PartitionKey of the reviews
collection is /flavorIdentifier
.
In my Logic App I have a step which inserts a new document.
The code looks like this.
"Create_review":
"inputs":
"body":
"flavor": "@body('JSON_parseren_2')?['flavor']",
"flavorIdentifier": "@body('JSON_parseren')?['itemOrdered']",
"id": "@guid()",
"review": "@body('E-mail_met_opties_verzenden')?['SelectedOption']"
,
"headers":
"x-ms-documentdb-raw-partitionkey": "@body('JSON_parseren')?['itemOrdered']"
,
"host":
"connection":
"name": "@parameters('$connections')['documentdb']['connectionId']"
,
"method": "post",
"path": "/dbs/@encodeURIComponent('icecream')/colls/@encodeURIComponent('reviews')/docs"
,
"runAfter":
"E-mail_met_opties_verzenden": [
"Succeeded"
]
,
"type": "ApiConnection"
,
So, I'm posting the message to Cosmos DB
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
As you can see, I also specified the partition key to the same value as flavorIdentifier
.
My guess is this should just work. But it doesn't
The error I'm receiving states
PartitionKey extracted from document doesn't match the one specified in the header
Which is strange, as both have the same value, also when checking the raw input and output. Is there anything I'm overlooking?
For completeness, the full input and output of this step.
The raw input of the failed step.
"host":
"connection":
"name": "/subscriptions/3b3729b4-021a-48b5-a2eb-47be0c7e7f44/resourceGroups/developerday-workshop/providers/Microsoft.Web/connections/documentdb"
,
"method": "post",
"path": "/dbs/icecream/colls/reviews/docs",
"headers":
"x-ms-documentdb-raw-partitionkey": "3"
,
"body":
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
The raw output of the failed step.
"statusCode": 400,
"headers":
"x-ms-last-state-change-utc": "Wed,27 Mar 2019 05:03:54.568 GMT",
"lsn": "1",
"x-ms-schemaversion": "1.7",
"x-ms-quorum-acked-lsn": "1",
"x-ms-substatus": "1001",
"x-ms-current-write-quorum": "3",
"x-ms-current-replica-set-size": "4",
"x-ms-xp-role": "1",
"x-ms-global-Committed-lsn": "1",
"x-ms-number-of-read-regions": "0",
"x-ms-transport-request-id": "1",
"x-ms-cosmos-llsn": "1",
"x-ms-cosmos-quorum-acked-llsn": "1",
"x-ms-session-token": "1",
"x-ms-request-charge": "1.24",
"x-ms-serviceversion": "version=2.2.0.0",
"x-ms-activity-id": "bd428162-ec1a-4f50-879a-04b8ca0817a1",
"Strict-Transport-Security": "max-age=31536000",
"x-ms-gatewayversion": "version=2.2.0.0",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Date": "Wed, 27 Mar 2019 11:39:57 GMT",
"Content-Length": "1149",
"Content-Type": "application/json"
,
"body":
"code": "BadRequest",
"message": "Message: "Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]rnActivityId: bd428162-ec1a-4f50-879a-04b8ca0817a1, Request URI: /apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, RequestStats: rnRequestStartTime: 2019-03-27T11:39:57.0795308Z, RequestEndTime: 2019-03-27T11:39:57.0995601Z, Number of regions attempted: 1rnResponseTime: 2019-03-27T11:39:57.0995601Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-westeurope1-fd21.documents.azure.com:16833/apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, LSN: 1, GlobalCommittedLsn: 1, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 1001, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 1, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Creatern, SDK: Microsoft.Azure.Documents.Common/2.2.0.0"
Any thoughts?
azure-cosmosdb azure-logic-apps
So I'm trying to create an Azure Logic App which will create a new record inside a Cosmos DB collection to store review results.
I've created a Cosmos DB database (called icecream
) + collection (called reviews
). The PartitionKey of the reviews
collection is /flavorIdentifier
.
In my Logic App I have a step which inserts a new document.
The code looks like this.
"Create_review":
"inputs":
"body":
"flavor": "@body('JSON_parseren_2')?['flavor']",
"flavorIdentifier": "@body('JSON_parseren')?['itemOrdered']",
"id": "@guid()",
"review": "@body('E-mail_met_opties_verzenden')?['SelectedOption']"
,
"headers":
"x-ms-documentdb-raw-partitionkey": "@body('JSON_parseren')?['itemOrdered']"
,
"host":
"connection":
"name": "@parameters('$connections')['documentdb']['connectionId']"
,
"method": "post",
"path": "/dbs/@encodeURIComponent('icecream')/colls/@encodeURIComponent('reviews')/docs"
,
"runAfter":
"E-mail_met_opties_verzenden": [
"Succeeded"
]
,
"type": "ApiConnection"
,
So, I'm posting the message to Cosmos DB
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
As you can see, I also specified the partition key to the same value as flavorIdentifier
.
My guess is this should just work. But it doesn't
The error I'm receiving states
PartitionKey extracted from document doesn't match the one specified in the header
Which is strange, as both have the same value, also when checking the raw input and output. Is there anything I'm overlooking?
For completeness, the full input and output of this step.
The raw input of the failed step.
"host":
"connection":
"name": "/subscriptions/3b3729b4-021a-48b5-a2eb-47be0c7e7f44/resourceGroups/developerday-workshop/providers/Microsoft.Web/connections/documentdb"
,
"method": "post",
"path": "/dbs/icecream/colls/reviews/docs",
"headers":
"x-ms-documentdb-raw-partitionkey": "3"
,
"body":
"flavor": "My flavor",
"flavorIdentifier": "3",
"id": "4927042a-faa1-4e09-9c6d-d038ef659b25",
"review": "Very satisfied"
The raw output of the failed step.
"statusCode": 400,
"headers":
"x-ms-last-state-change-utc": "Wed,27 Mar 2019 05:03:54.568 GMT",
"lsn": "1",
"x-ms-schemaversion": "1.7",
"x-ms-quorum-acked-lsn": "1",
"x-ms-substatus": "1001",
"x-ms-current-write-quorum": "3",
"x-ms-current-replica-set-size": "4",
"x-ms-xp-role": "1",
"x-ms-global-Committed-lsn": "1",
"x-ms-number-of-read-regions": "0",
"x-ms-transport-request-id": "1",
"x-ms-cosmos-llsn": "1",
"x-ms-cosmos-quorum-acked-llsn": "1",
"x-ms-session-token": "1",
"x-ms-request-charge": "1.24",
"x-ms-serviceversion": "version=2.2.0.0",
"x-ms-activity-id": "bd428162-ec1a-4f50-879a-04b8ca0817a1",
"Strict-Transport-Security": "max-age=31536000",
"x-ms-gatewayversion": "version=2.2.0.0",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Date": "Wed, 27 Mar 2019 11:39:57 GMT",
"Content-Length": "1149",
"Content-Type": "application/json"
,
"body":
"code": "BadRequest",
"message": "Message: "Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]rnActivityId: bd428162-ec1a-4f50-879a-04b8ca0817a1, Request URI: /apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, RequestStats: rnRequestStartTime: 2019-03-27T11:39:57.0795308Z, RequestEndTime: 2019-03-27T11:39:57.0995601Z, Number of regions attempted: 1rnResponseTime: 2019-03-27T11:39:57.0995601Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-westeurope1-fd21.documents.azure.com:16833/apps/9bc5d0cc-9b7c-4b1d-9be2-0fa2654271c4/services/9d84c048-383b-498e-8472-1f57da72135d/partitions/0f29761a-9ffc-4560-94ce-0328c3c79f92/replicas/131981366274575376p/, LSN: 1, GlobalCommittedLsn: 1, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 1001, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 1, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Creatern, SDK: Microsoft.Azure.Documents.Common/2.2.0.0"
Any thoughts?
azure-cosmosdb azure-logic-apps
azure-cosmosdb azure-logic-apps
asked Mar 27 at 11:49
Jan_VJan_V
2,8231 gold badge27 silver badges44 bronze badges
2,8231 gold badge27 silver badges44 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Please add double quotation marks ""
around your partition key and it works fine for me.
View the code:
Wow, such an obvious mistake. Thanks!
– Jan_V
Mar 28 at 19:29
1
@Jan_V You're welcome,Jan.
– Jay Gong
Mar 29 at 0:54
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55376489%2fcreate-a-document-in-cosmos-db-via-logic-app-and-partitionkey-mismatch-in-docume%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Please add double quotation marks ""
around your partition key and it works fine for me.
View the code:
Wow, such an obvious mistake. Thanks!
– Jan_V
Mar 28 at 19:29
1
@Jan_V You're welcome,Jan.
– Jay Gong
Mar 29 at 0:54
add a comment |
Please add double quotation marks ""
around your partition key and it works fine for me.
View the code:
Wow, such an obvious mistake. Thanks!
– Jan_V
Mar 28 at 19:29
1
@Jan_V You're welcome,Jan.
– Jay Gong
Mar 29 at 0:54
add a comment |
Please add double quotation marks ""
around your partition key and it works fine for me.
View the code:
Please add double quotation marks ""
around your partition key and it works fine for me.
View the code:
answered Mar 28 at 7:23
Jay GongJay Gong
12.4k1 gold badge8 silver badges15 bronze badges
12.4k1 gold badge8 silver badges15 bronze badges
Wow, such an obvious mistake. Thanks!
– Jan_V
Mar 28 at 19:29
1
@Jan_V You're welcome,Jan.
– Jay Gong
Mar 29 at 0:54
add a comment |
Wow, such an obvious mistake. Thanks!
– Jan_V
Mar 28 at 19:29
1
@Jan_V You're welcome,Jan.
– Jay Gong
Mar 29 at 0:54
Wow, such an obvious mistake. Thanks!
– Jan_V
Mar 28 at 19:29
Wow, such an obvious mistake. Thanks!
– Jan_V
Mar 28 at 19:29
1
1
@Jan_V You're welcome,Jan.
– Jay Gong
Mar 29 at 0:54
@Jan_V You're welcome,Jan.
– Jay Gong
Mar 29 at 0:54
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55376489%2fcreate-a-document-in-cosmos-db-via-logic-app-and-partitionkey-mismatch-in-docume%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown