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!
{
- jobId: "j1d25d7282f4b43fab8bd626a59908963",
- jobStatus: "esriJobFailed",
- results: { },
- inputs: { },
- messages:
[
]
- {},
- type: "esriJobMessageTypeError",
- description: "{"error": {"code" : 0, "messageCode": "GPEXT_015","message": "Select appropriate helper services url from Portal for requested operation","params": {}}}"
- {},
- type: "esriJobMessageTypeError",
- description: "{"messageCode": "AO_100030", "message": "FindNearest failed."}"
- {},
- type: "esriJobMessageTypeError",
- description: "Failed to execute (FindNearest)."
- {}
- type: "esriJobMessageTypeError",
- description: "Failed."
}
Message was edited by: James Parker Changed URL and added steps to reproduce error