<?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: JavaScript Spatial Analysis Services failing: Select appropriate helper services url from Portal for requested operation in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409692#M1984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide details on the steps we need to use to reproduce the issue with your Rig Planner app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 16:27:02 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2014-10-06T16:27:02Z</dc:date>
    <item>
      <title>JavaScript Spatial Analysis Services failing: Select appropriate helper services url from Portal for requested operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409691#M1983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;about 6 months ago I built a prototype JavaScript app which uses the spatial analysis service; FindNearest.&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/rest/analysis/api-reference/find-nearest.htm" rel="nofollow" target="_blank"&gt;Find Nearest—ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The app ran fine for a few months, prompting users to log in to ArcGIS online, before submitting a task and returning results.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my geoprocessing job is failing with: &lt;SPAN style="color: #008000;"&gt;&lt;SPAN style="color: #303030;"&gt;Select appropriate helper services url from Portal for requested operation","params". See below for full JSON response. You can also debug yourself at&lt;/SPAN&gt; &lt;A class="jive-link-external-small" href="http://www.deloitte-geospatial.com/rigplanner/" rel="nofollow" target="_blank"&gt;RigPlanner&lt;/A&gt; .&lt;SPAN style="color: #303030;"&gt; Look at arcgis.js lines 215 to 255 to see me build my parameters object and submit the task&lt;/SPAN&gt;. &lt;SPAN style="color: #3d3d3d;"&gt;So what's changed? And what do I need to change to get my app returning results again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: medium;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;jobId&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"j1d25d7282f4b43fab8bd626a59908963"&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;jobStatus&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"esriJobFailed"&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;results&lt;/SPAN&gt;: { },&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;inputs&lt;/SPAN&gt;: { },&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;messages&lt;/SPAN&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P class="collapser" style="padding-right: 6px; padding-left: 6px;"&gt;[&lt;/P&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;UL class="collapsible array" style="list-style-type: none; margin: 0 0 0 2em;"&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;/SPAN&gt;{},&lt;UL class="collapsible obj" style="list-style-type: none; margin: 0 0 0 2em;"&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;type&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"esriJobMessageTypeError"&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;description&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"{"error": {"code" : 0, "messageCode": "GPEXT_015","message": "Select appropriate helper services url from Portal for requested operation","params": {}}}"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;/SPAN&gt;{},&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;type&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"esriJobMessageTypeError"&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;description&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"{"messageCode": "AO_100030", "message": "FindNearest failed."}"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;/SPAN&gt;{},&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;type&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"esriJobMessageTypeError"&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;description&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"Failed to execute (FindNearest)."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;/SPAN&gt;{}&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;type&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"esriJobMessageTypeError"&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="hoverable" style="padding: 1px 2px;"&gt;&lt;SPAN class="property" style="font-weight: bold;"&gt;description&lt;/SPAN&gt;: &lt;SPAN class="type-string" style="color: green;"&gt;"Failed."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: medium;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: James Parker Changed URL and added steps to reproduce error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 04:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409691#M1983</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2014-10-01T04:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript Spatial Analysis Services failing: Select appropriate helper services url from Portal for requested operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409692#M1984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide details on the steps we need to use to reproduce the issue with your Rig Planner app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 16:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409692#M1984</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2014-10-06T16:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript Spatial Analysis Services failing: Select appropriate helper services url from Portal for requested operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409693#M1985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking a look. Here are the steps I use to reproduce...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to &lt;A href="http://www.deloitte-geospatial.com/rigplanner/" title="http://www.deloitte-geospatial.com/rigplanner/"&gt;http://www.deloitte-geospatial.com/rigplanner/&lt;/A&gt;&amp;nbsp; ( I will revise url for original post as github gives a different error)&lt;/LI&gt;&lt;LI&gt;Open your browser's developer tools (I'm using Chrome) and show the network tab&lt;/LI&gt;&lt;LI&gt;Search by Filter &amp;gt; Search. You do not need to change any of the default filter values&lt;/LI&gt;&lt;LI&gt;Enter a valid ArcGIS Online username and password and hit OK.&lt;/LI&gt;&lt;LI&gt;You should be able to see the api submit the gp task, then check it's status a few times before failing. When I examine the output of the final output I see jobStatus: esriJobFailed with an array of 4 messages. See the output from my original posting the JSON object.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I say this app was working fine up until a couple of months ago, and should return 2 objects when successful. i) The nearestLayer containing the 10 nearest points to the little rig marker, and also ii) the connecting lines from the marker to each point. It's a fun little proof of concept that we'd love to get working again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 16:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409693#M1985</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2014-10-06T16:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript Spatial Analysis Services failing: Select appropriate helper services url from Portal for requested operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409694#M1986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also posted to gis.stackexchange...&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/118146/esri-javascript-spatial-analysis-services-select-appropriate-helper-services-ur" title="http://gis.stackexchange.com/questions/118146/esri-javascript-spatial-analysis-services-select-appropriate-helper-services-ur"&gt;esri JavaScript Spatial Analysis Services: Select appropriate helper services url from Portal for requested operation - …&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 20:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409694#M1986</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2014-10-13T20:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript Spatial Analysis Services failing: Select appropriate helper services url from Portal for requested operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409695#M1987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgba(248, 248, 248, 0.6);"&gt;I had to get esri support onto this one in the end. By changing the url of the analysis service to "&lt;/SPAN&gt;&lt;A href="http://analysis1.arcgis.com/rest/services/tasks/GPServer/FindNearest" rel="nofollow" style="font-size: 14px; color: #358daa; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;http://analysis1.arcgis.com/rest/services/tasks/GPServer/FindNearest&lt;/A&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgba(248, 248, 248, 0.6);"&gt;" the application now returns results for users in my ArcGIS Online Organization. Doesn't seem to work for trial accounts however.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 19:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/javascript-spatial-analysis-services-failing/m-p/409695#M1987</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2014-10-31T19:32:45Z</dc:date>
    </item>
  </channel>
</rss>

