I have the directions widget authenticating successfully with ArcGIS online. My proxy is returning my token fine.However whenever I attempt to route using the widget I getLocation could not be found.
Location could not be found.
This is for any address I type in. I have a geocoder hooked up to the widget as well that is giving my valid locations.urlUtils.addProxyRule({
urlPrefix: "route.arcgis.com",
proxyUrl: "/proxy.ashx"
});
urlUtils.addProxyRule({
urlPrefix: "traffic.arcgis.com",
proxyUrl: "/proxy.ashx"
});
this.directions = new Directions({
map: this._map,
geocoderOptions: options
});