laptop and a wrench

Bug

Ready-To-Use Services (logistics) fail with an error message, "ERROR 030158: Invalid travel mode value: <travel mode name>" returned if a custom travel mode name from ArcGIS Online is provided.

Last Published: October 30, 2019 ArcGIS Pro
Bug ID Number BUG-000125736
SubmittedOctober 3, 2019
Last ModifiedJuly 24, 2025
Applies toArcGIS Pro
Version found2.4.1
Operating SystemWindows OS
Version Fixed2.5
StatusFixed

Workaround

When working with the ready to use service in ArcMap or ArcGIS Pro, provide the ‘Travel Mode Settings’ present in the ‘Supported Travel Modes’ table in the ‘Travel mode name’ instead of just the name:{"attributeParameterValues": [{"attributeName": "Avoid Unpaved Roads", "parameterName": "Restriction Usage", "value": "AVOID_HIGH"}, {"attributeName": "Avoid Private Roads", "parameterName": "Restriction Usage", "value": "AVOID_MEDIUM"}, {"attributeName": "Driving an Automobile", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "Through Traffic Prohibited", "parameterName": "Restriction Usage", "value": "AVOID_HIGH"}, {"attributeName": "Roads Under Construction Prohibited", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "Avoid Gates", "parameterName": "Restriction Usage", "value": "AVOID_MEDIUM"}, {"attributeName": "Avoid Express Lanes", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "Avoid Carpool Roads", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "TravelTime", "parameterName": "Vehicle Maximum Speed (km/h)", "value": "0.0"}], "restrictionAttributeNames": ["Avoid Unpaved Roads", "Avoid Private Roads", "Driving an Automobile", "Through Traffic Prohibited", "Roads Under Construction Prohibited", "Avoid Gates", "Avoid Express Lanes", "Avoid Carpool Roads"], "useHierarchy": true, "simplificationTolerance": 10, "simplificationToleranceUnits": "esriMeters", "uturnAtJunctions": "esriNFSBAtDeadEndsAndIntersections", "distanceAttributeName": "Miles", "timeAttributeName": "TravelTime", "impedanceAttributeName": "TravelTime", "type": "AUTOMOBILE", "description": "Test", "name": "Rohit_Test", "id": "QWKhzfWcdATOvpCn"}When working with ArcGIS Pro (Network Analysis Extension is required):
  1. Navigate to the Analysis menu. Under the Tools category, select the Network Analysis drop down.
  2. Select Closest Facility.
  3. Navigate to the Closest Facility ribbon menu. Select the travel mode in the mode drop-down.

Steps to Reproduce

Bug ID: BUG-000125736

Software:

  • ArcGIS Pro

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