AnsweredAssumed Answered

Error converting JSON node to GeoEvent.

Question asked by BLomas on Jul 14, 2020
Latest reply on Jul 20, 2020 by BLomas

We just upgraded geoevent to 10.8 from 10.6.1 and have encountered this error when we the receive json on a rest end point input us used:

com.esri.ges.adapter.genericJson.JsonInboundAdapterError converting JSON node to GeoEvent.

 

The data is being sent to the endpoint via a python script. Here is a boiled version of what it looks like...

import requests
import json

url = <endpoint url>
mes = {"trackID":"testing", "comment":"testing comment"}
r = requests.post(url, json=mes, verify=False)
print(r.status_code)
print(r.content)

The data is being sent to the endpoint and the definition is being generated by geoevent correctly but the input is not processing the data appropriately. The input count does not go up and the mentioned error is found in the log. Also, this method worked just fine on the 10.6.1 version.

 

Anyone have an idea on why this would happen? 

 

GeoEvent

RJ Sunderman

Outcomes