iris icon indicating copy to clipboard operation
iris copied to clipboard

Getting 404 while try to post an incident

Open vaithiyanath opened this issue 4 years ago • 4 comments

Hi Team,

While try to create an incident getting 404 can anyone please help on this

404 Not Found

404 Not Found


nginx/1.18.0 (Ubuntu)

vaithiyanath avatar Nov 10 '21 10:11 vaithiyanath

Can you give us more details on his issue? What endpoint are you using to create incidents, is the rest of Iris working correctly, etc? The incident creation endpoint can return a 404 if the plan doesn't exist so check that is correct (though it should also return a plan not found message if that in the case).

diegocepedaw avatar Nov 10 '21 18:11 diegocepedaw

https://irisstg.*****.com/v0/webhooks/webhook?application=ping-alerts&key=6a2778676846a1ac53d8d370548a360df0d9f019b67232d6ba482d8eaa64675c&plan=ping-alert-template This is the endpoint that am trying to hit Rest of the iris is working even i can able to sync the target and able to create the plans only when i try to create an inc getting the error, even i can able to create an test inc from iris

vaithiyanath avatar Nov 11 '21 04:11 vaithiyanath

did you enable webhooks in your config? you need to define it in the yaml like: webhooks:

  • alertmanager

or in your case since you are using a webhook endpoint of name "webhook" webhooks:

  • webhook

diegocepedaw avatar Nov 11 '21 05:11 diegocepedaw

Yes i have added those on my config file

vaithiyanath avatar Nov 12 '21 13:11 vaithiyanath