分区键无效错误 [英] Partition Key invalid error
问题描述
您好,
我正在努力将记录从CRM移动到CosmosDB(SQL API-我已将分区键设置为/ accountid)与我的实体相对应。
My Logic App流程包含以下操作:
时间表:时间间隔
列表记录操作 - CRM:检索特定实体的记录
撰写和解析JSON - 数据操作操作:将记录转换为JSON格式。
CosmosDB:创建或更新文档:用于创建特定集合中的记录。
我遇到此问题:
分区键[901d25fa-d024-e911-a977-000d3a1995db]无效。\\\\ nAActivityId:82cfed8f-019e-4530-8c88-e17ea6eeda1a ,\\ nnRequestStartTime:2019-02-05T13:21:56.2043942 Z,尝试的区域数量:1 \\\\ n,Microsoft.Azure.Documents.Common / 2.1.0.0"
任何帮助将不胜感激。
谢谢。
您好,
另外我想添加另一个点这里..如上所述,所有行动都一样.. 如果我创建一个CosmosDB(Mongo API),我不必设置分区键,因为我正在使用固定空间。
My Logic App流程包含以下操作:
时间表:时间间隔
List Records action - CRM:检索记录特定的实体
撰写一个nd Parse JSON - 数据操作操作:将记录转换为JSON格式。
CosmosDB:创建或更新Document:用于创建特定集合中的记录。这一次,我使用了CosmosDB(Mongo API)
但它仍然给我一个错误:
"分区键[901d25fa-d024-e911-a977-000d3a1995db]无效。\\\ nAActivityId:0ea776f8-eb9f -4f67-a025-8cd6a88550ca,\ r\\\
RequestStartTime:2019-02-05T13:40:35.9201918Z,尝试的区域数:1 \\\\ n,Microsoft.Azure.Documents.Common / 2.1.0.0" ; 跨度>
Hello,
I am working on moving records from CRM to CosmosDB(SQL API- wherein I have set the partition key to /accountid) respective to my Entity.
My Logic App flow contains the following actions:
Schedule : for time interval
List Records action - CRM : to retrieve records for that particular Entity
Compose and Parse JSON - Data operations action : to convert the records into JSON format.
CosmosDB : Create or update Document : for creating records in particular collection.
I am facing this issue :
Partition key [901d25fa-d024-e911-a977-000d3a1995db] is invalid.\r\nActivityId: 82cfed8f-019e-4530-8c88-e17ea6eeda1a, \r\nRequestStartTime: 2019-02-05T13:21:56.2043942Z, Number of regions attempted: 1\r\n, Microsoft.Azure.Documents.Common/2.1.0.0"
Any help would be appreciated.
Thank you.
解决方案Hello,
Also I would like to add another point here.. As mentioned above with all the actions as same.. If I create a CosmosDB (Mongo API), I donot have to set the partition key as I am using Fixed space.
My Logic App flow contains the following actions:
Schedule : for time interval
List Records action - CRM : to retrieve records for that particular Entity
Compose and Parse JSON - Data operations action : to convert the records into JSON format.
CosmosDB : Create or update Document : for creating records in particular collection. This time , I used CosmosDB(of Mongo API)
But it still throws me an error :
"Partition key [901d25fa-d024-e911-a977-000d3a1995db] is invalid.\r\nActivityId: 0ea776f8-eb9f-4f67-a025-8cd6a88550ca, \r\nRequestStartTime: 2019-02-05T13:40:35.9201918Z, Number of regions attempted: 1\r\n, Microsoft.Azure.Documents.Common/2.1.0.0"
这篇关于分区键无效错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文