MID Web Server Context

KP27
Tera Contributor

I am trying to create Events using the below URL:
http://192.xxx.x.xxx:81/api/mid/em/jsonv2
through Postman. But it is not allowing the creation instead it gives the below error:

Why this might have happened:
  • The server couldn't send a response:
    Ensure that the backend is working properly
  • Self-signed SSL certificates are being blocked:
    Fix this by turning off 'SSL certificate verification' in Settings > General
  • Proxy configured incorrectly
    Ensure that proxy is configured correctly in Settings > Proxy
  • Request timeout:
    Change request timeout in Settings > General
     
     
    Also, tried with different port numbers:
    80, 81,8097,5060 but none of them worked

    When I tried with the URL http://192.xxx.x.xxx:81/api/mid/em/inbound_event/Transform=Transform Generic Events MID, then also it doesn't work from Postman

    Can some one help here on what needs to be done.
     
    Thanks in Advance.
     
4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

What is that endpoint?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

KP27
Tera Contributor

The URL given is the "End point"

Brian Nielsen
Kilo Guru

Hi KP

Have a look under 'Example showing JSON v2 formatted event messages' in the docs article

 

"Configure the MID WebService Event Collector Context"
https://docs.servicenow.com/bundle/newyork-it-operations-management/page/product/event-management/ta...

Id suggest trying out the plain one first
http
://{MID_Server_IP}:{MID_Web_Server_Port}/api/mid/em/jsonv2

and then with the transform. Looking at the documentation is does seem ambiguous. I haven't tried it, but should follow

http://<ip>:<port>/api/mid/em/inbound_event/TransformEvents_EventsToProcess

so for you

http://<ip>:<port>/api/mid/em/inbound_event/TransformEvents_Transform Generic Events MI

Best regards Brian

 

sundar_p
Tera Contributor

Hello, 

 

Did you get this working? 

We are using Utah version and I'm pretty much in the same situation trying to ingest event data through MID server and it doesn't seem to be working. Tried multiple ports 443, 80, 8097 but the result is same!

Any help is appreciated.

 

Regards, 

Sundar