Hi,
I'm querying an external web service from which I receive a response in JSON format. I'm then trying to chain this output to another query and specifying the path of payload as "path".
However, no matter if I use {{ctx.first.payload}} or {{ctx.chain.first.payload}}, etc. I'm always getting this error response:
{
"error": {
"root_cause": [
{
"type": "parse_exception",
"reason": "could not parse input for watch [my_watch]. expected an object representing input [path], but found [VALUE_STRING] instead"
}
],
"type": "parse_exception",
"reason": "could not parse input for watch [my_watch]. expected an object representing input [path], but found [VALUE_STRING] instead"
},
"status": 400
}
Is it possible to somehow get the output of web service response in 1st input http request and use it as input for second input (which uses aggregation on first's output) ?
Also, is there a way to change the format of {{ctx.trigger.triggered_time}} while using in http input request ?