Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

MID Server not found error

Kosuke Tsujibay
Tera Contributor

Hi, all

 

I'm trying to connect thrid party IDS tool(Nozomi) and ServiceNow (OTM) using MID Sever.

I set up the credentail information then try to test connection, then error occurs like this; 'FlowObjectAPIException: The current operation ended in state: ERROR. Detail: MID Server not found: Unable to locate MID Server'

 

I already checked the status MID Server but it was cleraly perfect(attatchment).

and I'm sure that the user have a right role(mid_server).

 

Is there anything to check regarding this?

or does anyone know this solution here?

1 REPLY 1

MartinS24686019
Tera Contributor

Hi,

for me it worked to select the ecc_agent.sys_id of the MID Server with "Specific MID Server" option.

For that I used this script to search for a MID Server:

var gr = new GlideRecord("ecc_agent");
gr.addEncodedQuery("nameSTARTSWITHmymidservername_");
gr.query();
if ( gr.next()) {
    return gr.sys_id;
}
return null;