Hi Team,
I'm a newbie and I'm trying to create a watcher. I'm receiving this error and I don't know what I'm doing wrong.
"actions": [
{
"id": "my_webhook",
"type": "webhook",
"status": "failure",
"error": {
"root_cause": [
{
"type": "unknown_host_exception",
"reason": "https"
}
],
"type": "unknown_host_exception",
"reason": "https"
}
}
]
},
"messages": []
}
My actions is:
"my_webhook": {
"webhook": {
"scheme": "https",
"host": "https://chat.googleapis.com/",
"port": 9200,
"method": "post",
"path": "https://chat.googleapis.com/v1/spaces/X/messages?key=X&token=X",
"params": {},
"headers": {},
"body": "count: {{ctx.payload.hits.total}}"
}
}
}
Please, could you help me? Thanks a lot!