I'm testing out the Route 'solve' REST endpoint:
https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve
With a series of stops to get the optimal order. However, I'm getting back the following error:
{u'error': {u'code': 400,
u'details': [u'Layer [Route_(null)] could not be found in the map or is of the wrong type.'],
u'message': u'Invalid or missing input parameters.'}}
Can anyone help me understand what that error means?
Solved this myself. The issue was a malformed request: the shape of the 'stops' JSON was incorrect.
Could you post your solution? I'm struggling with this same issue.
Oh, I think my problem was an incorrect WKID value on the spatial reference set for one of the stops I had listed.