The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Prometheus Event api returns 400 bad request "Requested URI does not represent any resource"

pschwippert
Kilo Contributor

Dear SNOW community,

I have been trying to use the Event Management module to push Prometheus alerts into ServiceNow. I found this article explaining the integration process: https://docs.servicenow.com/bundle/rome-it-operations-management/page/product/event-management/conce...

However when I put the api url into postman, using basic auth with a customer user I made acting as a service account (making sure it had the roles specified). I just get a 400 Bad Request with the following body:

{
    "error": {
        "message": "Requested URI does not represent any resource",
        "detail": null
    },
    "status": "failure"
}

The URL used is as follows: https://devXXXXX.service-now.com/api/sn_em_connector/em/inbound_event?source=prometheus

Could anyone help me out and point me into the right direction?

Regards,

Pim Schwippert

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

Hi,

Please check below documentation.

https://docs.servicenow.com/bundle/rome-it-operations-management/page/product/event-management/task/...

I hope you have installed required plugins.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

3 REPLIES 3

Anil Lande
Kilo Patron

Hi,

Please check below documentation.

https://docs.servicenow.com/bundle/rome-it-operations-management/page/product/event-management/task/...

I hope you have installed required plugins.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

pschwippert
Kilo Contributor

It turns out I did not have all the required plugins installed. I was not aware I needed additional plugins beyond the "Event Management" module I installed. I also needed "Event Management Service Mappings Core" and "Event Management Connectors"

Eric Smith
Tera Expert

Great to hear you've found where the issue came from. Just for reference, i'd propose taking a look at a tool (zigiops) that can help you with any future integration between the two. We did use if for alerts transfer and still works great.