I have a road network which I published on ArcGIS portal. The road network is working fine on ArcMap and when I published it is working fine using ArcGIS REST API directly (.../RoadNetwork/NAServer/Route/).
I am having issues while configuring the directions widget in Web AppBuilder (2.13 or before).
Travel Mode URL is giving me suggestion to add a GP Service why should I use a GP Service when I have the option to retrieve travel mode using ArcGIS rest API (..../RoadNetwork/NAServer/Route/retrieveTravelModes/) does this mean I have to publish a GP Service ?
I am not giving anything in Travel Mode URL option and When I configure the widget and run the directions I am getting following error in console.