我有一个场景,在下一个请求中必须使用特定的响应数据。我用过payload("{\"alarmName\":\"@variable('apiVersion')@\"}")
,但执行失败,但有异常。以下是异常消息。
{"__v":0,"minVal":18,"alarmName":"TempAlarm7","_id":"59d50f49e877251d1eea592d"}
Number of JSON entries not equal for element: '$.', expected '1' but was '4'
知道如何解决吗?
问候极客