azure - 'Integer' 类型的值不支持属性选择

标签 azure azure-logic-apps

我想发送此动态内容:

content:@concat(formatDateTime(adddays(utcnow(),-1),'mm'),formatDateTime(adddays(utcnow(),-1),'dd'))

从 Azure 数据工厂中的 Web 事件到逻辑应用。

在逻辑应用程序方面,我定义了这样一个主体: enter image description here

在第二步中我想提取值: enter image description here

但是在这一步运行后我收到此错误:

InvalidTemplate. Unable to process template language expressions in action 'Extract' inputs at line '1' and column '1292': 'The template language expression 'triggerBody()?['ID']' cannot be evaluated because property 'ID' cannot be selected. Property selection is not supported on values of type 'Integer'. Please see https://aka.ms/logicexpressions for usage details.'.

如何解决这个问题?

最佳答案

添加

Content-type = application/json

在请求 header 中。

关于azure - 'Integer' 类型的值不支持属性选择,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54710406/

相关文章:

c# - 如何将我的控制台应用程序 dll 放入逻辑应用程序调度程序而不是 Web 作业中?

Azure 逻辑应用 - 访问在 Azure VM 中运行的 SQL Server

HTTP Webhook 回调 URL 上的 JSON 架构验证(Azure 逻辑应用)

azure - 几个 Azure 问题

c# - 在 EventStore/EventHub 中序列化/反序列化消息

azure - 从 Azure DevOps Pipeline 加载 Az.Kusto 2.0.0 PowerShell 模块时出现问题

azure - 如何在完成 X 个其他 Azure 函数后触发 Azure 函数?

Azure 网站使用经典应用程序管道

azure - 访问 token 已被错误的受众获取

azure - 逻辑应用程序 - 在邮件正文中嵌入 base64