Hello,
about 6 months ago I built a prototype JavaScript app which uses the spatial analysis service; FindNearest.Find Nearest—ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers
The app ran fine for a few months, prompting users to log in to ArcGIS online, before submitting a task and returning results.
Now my geoprocessing job is failing with: Select appropriate helper services url from Portal for requested operation","params". See below for full JSON response. You can also debug yourself at RigPlanner . Look at arcgis.js lines 215 to 255 to see me build my parameters object and submit the task. So what's changed? And what do I need to change to get my app returning results again?
Cheers!
{
[
]
}
Message was edited by: James Parker Changed URL and added steps to reproduce error
Solved! Go to Solution.
I had to get esri support onto this one in the end. By changing the url of the analysis service to "http://analysis1.arcgis.com/rest/services/tasks/GPServer/FindNearest" the application now returns results for users in my ArcGIS Online Organization. Doesn't seem to work for trial accounts however.
James,
Can you provide details on the steps we need to use to reproduce the issue with your Rig Planner app?
Hey Kelly,
Thanks for taking a look. Here are the steps I use to reproduce...
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.
Cheers,
James
Also posted to gis.stackexchange...
I had to get esri support onto this one in the end. By changing the url of the analysis service to "http://analysis1.arcgis.com/rest/services/tasks/GPServer/FindNearest" the application now returns results for users in my ArcGIS Online Organization. Doesn't seem to work for trial accounts however.