Ash*_*han 4 api json power-automate
我在使用Parse JSON
Power Automate 流中的函数的示例 JSON 负载中遇到错误:
{
"message": "Invalid type. Expected Integer but got Number.",
"lineNumber": 0,
"linePosition": 0,
"path": "issues[0].fields.customfield_18478",
"value": 1,
"schemaId": "#/properties/issues/items/properties/fields/properties/customfield_18478",
"errorType": "type",
"childErrors": []
}
Run Code Online (Sandbox Code Playgroud)
以上是我在 JIRA 中遇到的自定义字段的示例错误。任何线索如何解决它?
像你看起来必须定义为两种模式integer
和number
。这应该可以解决问题。
"customfield_18478": {
"type": ["integer", "number"]
},
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2931 次 |
最近记录: |