Watcher: [parse_exception] could not parse action [Monitor/webhook]. unknown action type [method]

"actions": {
"log_error": {
"logging": {
"text": "Service Down"
}
},
"webhook" : {
"method" : "POST",
"url" : "https://servicenow.com/api/incidents?actionUser=user",
"body" : "{{ctx.watch_id}}:{{ctx.payload.hits.total}}",
"auth" : {
"basic" : {
"username" : "TEST_User",
"password" : "Password"
}
}
}
},

I keep getting getting Watcher: [parse_exception] could not parse action [Monitor/webhook]. unknown action type [method] when I try to setup a webhook action.

Any idea why I am getting this error ?

Hey,

the webhook action does not have a name, but needs one - like the log_error for the logging action you need a name.

--Alex

1 Like

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