<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error converting JSON node to GeoEvent. in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/error-converting-json-node-to-geoevent/m-p/447400#M1925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2020 13:48:57 GMT</pubDate>
    <dc:creator>BrianLomas</dc:creator>
    <dc:date>2020-07-20T13:48:57Z</dc:date>
    <item>
      <title>Error converting JSON node to GeoEvent.</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/error-converting-json-node-to-geoevent/m-p/447398#M1923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="color: #505051; font-size: 12px;"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #cee6fa;"&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;com.esri.ges.adapter.genericJson.JsonInboundAdapter&lt;/TD&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Error converting JSON node to GeoEvent.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is being sent to the endpoint via a python script. Here is a boiled version of what it looks like...&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; requests
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; json

url &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;endpoint url&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
mes &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"trackID"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"testing"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"comment"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"testing comment"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
r &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; requests&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;post&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;url&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; json&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;mes&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; verify&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;status_code&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea on why this would happen?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2103" target="_blank"&gt;GeoEvent&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/44379" target="_blank"&gt;RJ Sunderman&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:58:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/error-converting-json-node-to-geoevent/m-p/447398#M1923</guid>
      <dc:creator>BrianLomas</dc:creator>
      <dc:date>2021-12-11T19:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error converting JSON node to GeoEvent.</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/error-converting-json-node-to-geoevent/m-p/447399#M1924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/20382"&gt;Brian Lomas&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff;"&gt;Have you tried recreating everything and ensuring it follows all the guidelines within&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/geoevent/latest/process-event-data/receive-json-on-a-rest-endpoint.htm" title="https://enterprise.arcgis.com/en/geoevent/latest/process-event-data/receive-json-on-a-rest-endpoint.htm"&gt;Receive JSON on a REST Endpoint—Process Event Data(10.8) | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;? You probably have, however I can see it&amp;nbsp;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.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background-color: #ffffff;"&gt;Shane&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 23:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/error-converting-json-node-to-geoevent/m-p/447399#M1924</guid>
      <dc:creator>ShaneMiles</dc:creator>
      <dc:date>2020-07-14T23:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error converting JSON node to GeoEvent.</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/error-converting-json-node-to-geoevent/m-p/447400#M1925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 13:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/error-converting-json-node-to-geoevent/m-p/447400#M1925</guid>
      <dc:creator>BrianLomas</dc:creator>
      <dc:date>2020-07-20T13:48:57Z</dc:date>
    </item>
  </channel>
</rss>

