逻辑应用程序:-向Cosmos DB插入或更新操作:“消息:{\"错误\“:[\"指定的输入之一无效\“]} [英] Logic App:-Insert or update operation to Cosmos DB: "Message: {\"Errors\":[\"One of the specified inputs is invalid\"]}
问题描述
我正在尝试使用逻辑应用中的cosmos db连接器插入值.但是我的请求失败,并出现以下错误
我没有传递分区键,也不知道它是否会影响..任何人都可以提出问题的答案.
I am not passing partition key and not sure if it will impact.. can any one suggest what could be the issue.
{
代码" : "BadRequest" ,
消息" : 消息:{\"错误\":[\指定了inpu 是无效\]} \ r \ 9-b3b1-85648a93b4,请求URI:/apps/e2d-2 c53--f58629f67ac3/services/0c826c99-d897 -9ce8-4310cfe81d20/partitions/f03fb-16e6-43 c8-b7d2-bc68b7b43b18/replicas/1316268668767401p, RequestStats: , SDK: Microsoft.Azure.Documents.Co mmon/1.20.0.0"
}
{
"code": "BadRequest",
"message": "Message: {\"Errors\":[\"One of the specified inputs is invalid\"]}\r\nActivityId: 4567ff-fcc4-4f89-b3b1-85648a93b4, Request URI: /apps/e2d-2c53--f58629f67ac3/services/0c826c99-d897-9ce8-4310cfe81d20/partitions/f03fb-16e6-43c8-b7d2-bc68b7b43b18/replicas/1316268668767401p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/1.20.0.0"
}
输入:
推荐答案
错误消息应该更明确.
应明确指出哪个输入值完全无效.
The error message should be more explicit. instead of just telling
One of the specified inputs is invalid
it should be explicit which input value exactly is invalid.
这篇关于逻辑应用程序:-向Cosmos DB插入或更新操作:“消息:{\"错误\“:[\"指定的输入之一无效\“]}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!