我想发送此动态内容:
content:@concat(formatDateTime(adddays(utcnow(),-1),'mm'),formatDateTime(adddays(utcnow(),-1),'dd'))
从 Azure 数据工厂中的 Web 事件到逻辑应用。
但是在这一步运行后我收到此错误:
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/