search cancel

ErrorCode :157 ErrorMessage: Invalid data 3 for field status.

book

Article ID: 243358

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Jun 06 12:39:58:225 [pool-27-thread-11, sdgtw] Error while calling the resolve Incident EVT000000010307972$ServiceNow java.lang.Exception: {"Error":{"ErrorCode":157,"ErrorMessage":"Invalid data 3 for field status. Possible values [[closed complete, closed incomplete, closed skipped, in queue, open, pending 3rd party, work in progress]]","HTTPResponseCode":"BAD_REQUEST","HTTPResponseCodeValue":400}}
 at com.ca.integration.normalization.client.HttpRequestHandler.parseResponse(HttpRequestHandler.java:182)
 at com.ca.integration.normalization.client.HttpRequestHandler.submit(HttpRequestHandler.java:93)
 at com.ca.integration.normalization.client.HttpRequestHandler.put(HttpRequestHandler.java:79)
 at com.ca.integration.normalization.client.NIMRestClient.update(NIMRestClient.java:125)
 at com.ca.integration.normalization.client.NIMRestClient.updateIncident(NIMRestClient.java:228)
 at com.ca.integration.normalization.client.NIMRestClient.resolveIncident(NIMRestClient.java:297)
 at com.nimsoft.probe.gateway.sdgtw.AlarmEventProcessor.closeAlaram(AlarmEventProcessor.java:567)
 at com.nimsoft.probe.gateway.sdgtw.AlarmEventProcessor.processAlarmCloseEvent(AlarmEventProcessor.java:453)
 at com.nimsoft.probe.gateway.sdgtw.AlarmEventProcessor.run(AlarmEventProcessor.java:108)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)

Environment

Release : 20.3

Component : UIM - SDGTW

Resolution

We needed to change the following in the sdgtw.cfg from:

sn_close_incident_state_value = 3

to

sn_close_incident_state_value = Closed Complete

Additional Information

This is also tied to what is listed for the following:

sn_customized_status = Open=1,In Queue=-5,Work in progress=2,Closed Complete=3,Closed Incomplete=4,Closed Skipped=7,Pending 3rd Party=-4