azure - “整数”类型的值不支持属性选择
问题描述
我想发送这个动态内容:
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
在请求标头中。
推荐阅读
- java - Android,为什么我不能在 onCreate 之外的方法中调用我的字符串数组?
- mysql - 通过mysql完成减法
- android - 如何在不清除缓存的情况下刷新数据?- volly 库的问题
- django - Django模型表单使用字段的属性进行验证
- angular - ng-bootstrap 警报消失,直到整页刷新
- python - Python - 错误:需要 Microsoft Visual C++ 14.0
- python-3.x - 无法通过 docker 中的 unix scipt 将文件发送到 AWS S3
- unit-testing - Akka 和 Java 8 TestKit 示例
- javascript - React Native Countdown Timer 导致 Invariant Violation
- sas - 如何计算 id 在 SAS 中有正余额和负余额的天数