<?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 Service Area Task Failure in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-task-failure/m-p/346904#M32073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the ArcGIS JavaScript API to perform a service area task in conjunction with the PHP proxy for an app login. The problem is that the first attempt to generate the service area fails and I get an invalid token error. However, all subsequent attempts are successful up until the current token expires. The facility point is fed into the SA function through location allocation (which is working perfectly, no failures). I am running the LA and a geocoding process through the proxy and have had no issues.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error I get on the first attempt: "&lt;SPAN style="color: #ff0000; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;Uncaught SyntaxError: Unexpected token ILLEGAL&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt; &lt;/SPAN&gt;" in PHP line 1, which gives me this line of code: dojo.io.script.jsonp_dojoIoScript2._jsonpCallback({"messages":[{"type":50,"description":"Input field [OID] was not mapped to a field in the network analysis class \"Facilities\"."}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this first attempt there are not problems. Does anyone have an idea of why this is happening and how to go about fixing it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2014 20:12:35 GMT</pubDate>
    <dc:creator>charlescraige</dc:creator>
    <dc:date>2014-10-30T20:12:35Z</dc:date>
    <item>
      <title>Service Area Task Failure</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-task-failure/m-p/346904#M32073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the ArcGIS JavaScript API to perform a service area task in conjunction with the PHP proxy for an app login. The problem is that the first attempt to generate the service area fails and I get an invalid token error. However, all subsequent attempts are successful up until the current token expires. The facility point is fed into the SA function through location allocation (which is working perfectly, no failures). I am running the LA and a geocoding process through the proxy and have had no issues.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error I get on the first attempt: "&lt;SPAN style="color: #ff0000; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;Uncaught SyntaxError: Unexpected token ILLEGAL&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt; &lt;/SPAN&gt;" in PHP line 1, which gives me this line of code: dojo.io.script.jsonp_dojoIoScript2._jsonpCallback({"messages":[{"type":50,"description":"Input field [OID] was not mapped to a field in the network analysis class \"Facilities\"."}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this first attempt there are not problems. Does anyone have an idea of why this is happening and how to go about fixing it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 20:12:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-task-failure/m-p/346904#M32073</guid>
      <dc:creator>charlescraige</dc:creator>
      <dc:date>2014-10-30T20:12:35Z</dc:date>
    </item>
  </channel>
</rss>

