deleted deleted

deleted deleted   •   almost 11 years ago

Cannot get Esri Direction Map to work

Hello Moderator, I have registered with Esri and have created an account, an app etc. When I tried to leverage one of the Map direction routes found here,

https://developers.arcgis.com/javascript/jssamples/widget_directions_basic.html

am faced with this problem

"Route service description was not reached or recognized. Please check service URL and/or user credentials, if specified."

I think I have to reference my token as in the case below but still cannot get it to work.

http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?token=&stops=-122.4079,37.78356;-122.404,37.782&f=json

is it requesting my client Id and Secret. what Url is it requesting.
How do I fixed that with a clean example.

how do I fix that

Thanks

  • 1 comment

  • Manager   •   almost 11 years ago

    Frederick - I cannot tell what the exact problem is from this description. What API/SDK are you using? What does that specific documentation say about how to code with that RouteTask? The URL is asking for a token...but if it doesn't work we'd have to make sure it was a valid token.

    John

Comments are closed.