We are implementing REST web services. Integration Server is throwing error as shown below went we hit the flow service using JSON request
{
“$errorDump”: “com.wm.util.coder.InvalidDatatypeException: [ISC.0076.9012] Invalid state. JSON input stream does not start with the "{" character.\n\tat com.wm.util.coder.IDataJSONCoder.decode(IDataJSONCoder.java:302)\n\tat com.wm.app.b2b.server.ContentHandler_JSON.getInputValues(ContentHandler_JSON.java:40)\n\tat com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:148)\n\tat com.wm.app.b2b.server.RESTHandler.process(RESTHandler.java:39)\n\tat com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:174)\n\tat com.wm.app.b2b.server.Dispatch.run(Dispatch.java:383)\n\tat com.wm.util.pool.PooledThread.run(PooledThread.java:119)\n\tat java.lang.Thread.run(Thread.java:781)\n”,
“$errorInfo”: {
“$errorDump”: “com.wm.util.coder.InvalidDatatypeException: [ISC.0076.9012] Invalid state. JSON input stream does not start with the "{" character.\n\tat com.wm.util.coder.IDataJSONCoder.decode(IDataJSONCoder.java:302)\n\tat com.wm.app.b2b.server.ContentHandler_JSON.getInputValues(ContentHandler_JSON.java:40)\n\tat com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:148)\n\tat com.wm.app.b2b.server.RESTHandler.process(RESTHandler.java:39)\n\tat com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:174)\n\tat com.wm.app.b2b.server.Dispatch.run(Dispatch.java:383)\n\tat com.wm.util.pool.PooledThread.run(PooledThread.java:119)\n\tat java.lang.Thread.run(Thread.java:781)\n”,
“$error”: “[ISC.0076.9012] Invalid state. JSON input stream does not start with the "{" character.”,
“$localizedError”: “[ISC.0076.9012] Invalid state. JSON input stream does not start with the "{" character.”,
“$errorType”: “com.wm.util.coder.InvalidDatatypeException”,
“$service”: “eveIn:_put”,
“$user”: “Default”,
“$time”: “Fri Jul 10 08:18:43 BST 2015”
},
“$error”: “[ISC.0076.9012] Invalid state. JSON input stream does not start with the "{" character.”,
“$errorType”: “com.wm.util.coder.InvalidDatatypeException”
}
When we validate the JSON request in JSON validator, we are getting message(Valid JSON).Please find the JSON request below.
[{
“id”:“SJNFD56485215646”,
“schedDateTime”:“2015-03-04 16:37:06”,
“parkingPosition”:null,
“achievementDateTime”:“2015-04-29 11:00”
}]
Please suggest on this.
Thanks in Advance.
Regards,
Jacob B