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.JsonInboundAdapter | Error 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?
Hi Brian Lomas,
Have you tried recreating everything and ensuring it follows all the guidelines within Receive JSON on a REST Endpoint—Process Event Data(10.8) | Documentation for ArcGIS Enterprise ? You probably have, however I can see it contains quite in depth usage notes compared to some of the other input connectors and wouldn't hurt to go over it again if you haven't already.
Shane
This ended up being a bad install. Overall, it took us 5 different tries to upgrade from 10.61 to 10.8. On top of that, tech support believes our config file might have been corrupt as well. So, we are having to rebuild the the geoevent services, inputs, outputs, geofences, and definitions.