<?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 500 JSON does not allow non-finite numbers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506541#M47126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The extent for Layer: DMS Access Points (ID:7) is not set. Check &lt;A href="http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/7"&gt;http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/7&lt;/A&gt;. Fix that, and you should be good to go:)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You sir are awesome thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 00:53:29 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2013-08-21T00:53:29Z</dc:date>
    <item>
      <title>error 500 JSON does not allow non-finite numbers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506539#M47124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This might be for the REST API forums, but I like you guys better &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if I access&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/layers" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/layers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My service works (its an msd, server 10sp5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i append the "f=json" tag (for accessing in my javascript application) I get&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/layers?f=json" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/layers?f=json&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":500,"message":"JSON does not allow non-finite numbers.","details":[]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously I am doing something "illegal" in my mxd, but no idea what it might be.&amp;nbsp; Any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 19:15:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506539#M47124</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2013-08-20T19:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: error 500 JSON does not allow non-finite numbers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506540#M47125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The extent for Layer: DMS Access Points (ID:7) is not set. Check &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/7" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/7&lt;/A&gt;&lt;SPAN&gt;. Fix that, and you should be good to go:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 21:10:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506540#M47125</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-08-20T21:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: error 500 JSON does not allow non-finite numbers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506541#M47126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The extent for Layer: DMS Access Points (ID:7) is not set. Check &lt;A href="http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/7"&gt;http://www.mymanatee.org/arcgis/rest/services/tools/traffic/MapServer/7&lt;/A&gt;. Fix that, and you should be good to go:)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You sir are awesome thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 00:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506541#M47126</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2013-08-21T00:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: error 500 JSON does not allow non-finite numbers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506542#M47127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm.. Figured this out but its complicated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Extent is NaN because there is no spatial index on the data layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THere is no spatial index on the data layer because there are no features in the layer (at the moment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how to workaround....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 16:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506542#M47127</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2013-08-21T16:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: error 500 JSON does not allow non-finite numbers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506543#M47128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use ArcGIS Desktop to project the layer as it should be, and set its full extent in ArcMap to whatever you like it. Then republish the map service. The issue should be fixed by then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 19:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-500-json-does-not-allow-non-finite-numbers/m-p/506543#M47128</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-08-21T19:16:46Z</dc:date>
    </item>
  </channel>
</rss>

