laptop and a wrench

Bug

Routing services on logistics.arcgis.com fail with an error, "ERROR 030158: Invalid travel mode value: <travel mode name>." if the travel_mode parameter is in quotes.

Last Published: August 30, 2017 ArcGIS Online
Bug ID Number BUG-000106180
SubmittedJune 28, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found5.2
Operating SystemUbuntu Linux
Operating System VersionN/A
Version Fixed4.1 -
StatusFixed

Workaround

Either:Remove the quotes from around the travel_mode parameterOr(Recommended)Use the GetTravelModes call ahead of time to get the travel mode object and pass the whole object in as the travel mode

Steps to Reproduce

Bug ID: BUG-000106180

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options