<?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: What is wrong with this JSON input? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615753#M2690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm running into a timeout at 2 seconds. How did you fix that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2014 16:58:36 GMT</pubDate>
    <dc:creator>HyrumErnstrom</dc:creator>
    <dc:date>2014-02-05T16:58:36Z</dc:date>
    <item>
      <title>What is wrong with this JSON input?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615748#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached is a PDF describing a problem I'm having with an input.&amp;nbsp; The input worked in 10.2.0 but is now failing in 10.2.1.&amp;nbsp; I can't see what is breaking. Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DG&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 00:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615748#M2685</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2014-01-24T00:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this JSON input?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615749#M2686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dennis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently working on a similar problem with JSON inputs. Actually I think there might be a problem for the GEP when parsing JSON Array which contain JSON objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let us know when you make some progress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 07:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615749#M2686</guid>
      <dc:creator>MartinRick</dc:creator>
      <dc:date>2014-01-24T07:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this JSON input?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615750#M2687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Dennis -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see anything wrong with the JSON sample you posted. I was able to create a basic 'Receive JSON on a REST endpoint' Input and POST the sample to the GeoEvent Processor Input's REST endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Configuring my Input as shown in the first illustration below, I allowed a new GeoEvent Definition to be created. I've included an illustration of the generated GeoEvent Definition below. When I post the JSON, I get two events received. I can output those to a system text file as JSON without any problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that in the second record, the one whose driverID is 83886089, a few of the fields are null. If I delete the GeoEvent Definition and then swap the order of the events in the list so that the record with the null attributes is first ... the generated GeoEvent Definition does not contain fields for the attributes which were initially received as null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure, but it might be that you have a GeoEvent Definition which does not match the content discovered by the Input connector, so it discards the event it cannot recognize. That would explain why you are observing the event count not incrementing. You might try deleting your existing GeoEvent Definitions and seeing if the Input is able to create a new one based on data it receives.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only other piece to the configuration that I notice is that your connector, aside from specifying connection credentials and a polling frequency, is specifying a 'Parameters' value of 'minutes=1440'. I'm not sure what that parameter is, or it is plays into the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- RJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 23:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615750#M2687</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2014-01-24T23:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this JSON input?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615751#M2688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I didn't think there was anything wrong with the JSON since it worked with 10.2.0 although I did have to unmap several fields in a field mapper processor of the GE Service for the data stream to successfully update a target feature class.&amp;nbsp; But I didn't determine which data field was causing grief.&amp;nbsp; Once 10.2.1 arrive I installed and then discovered the input just stopped working altogether.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my input definition I am trying to create a new schema definition so the issue with NULLS doesn't apply but it is good to know that null fields are not included in the automated schema definition.&amp;nbsp; Is that a bug or feature?&amp;nbsp; I would be good if it did not drop null fields on an initial schema definition.&amp;nbsp; Even better, include the option of turning that feature on or off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The minutes parameter in the URL is a time span.&amp;nbsp; Get red flag events of the past 1440 minutes (24hr).&amp;nbsp; Shouldn't be an issue.&amp;nbsp; I test the URL in a browser and get back many items.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Today I received an email from ESRI that includes a patch in regards to a possible timeout issue.&amp;nbsp; I will try that soon and post if that solves the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks RJ.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DG&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 01:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615751#M2688</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2014-01-25T01:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this JSON input?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615752#M2689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The patch fixed the problem with the input.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DG&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 19:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615752#M2689</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2014-01-27T19:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this JSON input?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615753#M2690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm running into a timeout at 2 seconds. How did you fix that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 16:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615753#M2690</guid>
      <dc:creator>HyrumErnstrom</dc:creator>
      <dc:date>2014-02-05T16:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with this JSON input?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615754#M2691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A fix for the timeout issue with the HttpInboundTransport has been included in the next release. If you are unable to wait for the 10.2.2 product, currently scheduled for release end Q1 2014, please contact Esri Technical support and/or work with your Customer Service Representative.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 21:37:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-is-wrong-with-this-json-input/m-p/615754#M2691</guid>
      <dc:creator>TimothyStiles</dc:creator>
      <dc:date>2014-02-06T21:37:25Z</dc:date>
    </item>
  </channel>
</rss>

