json - 如何解决“无效类型。需要整数但得到数字。” 用于 Power Automate 中的 JSON 有效负载?
问题描述
我在使用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": []
}
以上是我在 JIRA 中的自定义字段中遇到的示例错误。任何线索如何解决它?
解决方案
推荐阅读
- javascript - 带有 if 语句的 JavaScript for 循环仅检查第一个变量
- angular - Ionic 4 如何从另一个页面获取数据
- jq - 如何转义管道字符“|” 用于jq中的格式化目的?
- android - 如何为 MaterialButton 指定自定义方法?
- java - 斐波那契数,在 Java 中使用单线?
- django - 为列“id”指定了多个默认值
- php - 如何动态更新 wp_options 序列化数组中的帖子 ID?
- c - 我在 C 中遇到了 scanf 函数的一些问题。当我编译它时它显示消息:分段错误
- php - 我想在第一个表中获取不在第二个表中的行
- php - 如何将项目复制到现有数组