Watcher : webhook action parsing error

Hi,

I'm facing an error from watcher and the webhook action section:

The watcher is working fine and send us via email the related information we need (ie count of error from an IP address and subcount of error related to the user). Below an exemple of mail received:
image

Now the webhook action need to send all the IP address (there is multiple IP address find as the watcher use an aggregation). However, there is the parsing erro from the body parameter. Below, the webhook section:

"my_webhook" : {
        "webhook" : {
        "method" : "POST",
        "host" : "xx.xx.xx.xx",
        "scheme": "https",
        "port" : "xxxx",
        "path" : "/api/v1/hooks/webhook_[ID_OF_WEBHOOK]",
        "body" : { "destination.ip": "{{#ctx.payload.destination_ip}}{{/ctx.payload.destination_ip}}" }
		  }
	  }

I've test different body but without sucess. Does anyone had a tips to this parsing error ?

Thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.