-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:AlertingTeam:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//Platform ResponseOps team (formerly the Cases and Alerting teams) t//
Description
Trying to use OpsGenie from the webhook connector, and am seeing http 422 responses from my simple test.
Here's some of the data from the alert/action:
{
"id": "e00f4304-1e87-4161-9bf8-c8413825299f",
"actionTypeId": ".webhook",
"name": "opsgenie",
"config": {
"method": "post",
"url": "https://api.opsgenie.com/v2/alerts",
"headers": {
"Authorization": "GenieKey <api key here>,
"Content-Type": "application/json"
}
},
"isPreconfigured": false,
"referencedByCount": 1
},
"actions": [
{
"actionTypeId": ".server-log",
"params": {
"level": "info",
"message": "{{context.message}}"
},
"group": "threshold met",
"id": "2bb6ab6b-f3b4-46c2-a581-7163afdb8749"
},
{
"actionTypeId": ".webhook",
"params": {
"body": "{\n \"message\": \"{{{context.message}}}\"\n}"
},
"group": "threshold met",
"id": "e00f4304-1e87-4161-9bf8-c8413825299f"
}
],
Metadata
Metadata
Assignees
Labels
Feature:AlertingTeam:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//Platform ResponseOps team (formerly the Cases and Alerting teams) t//