laptop and a wrench

Error

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.

Última publicación: October 30, 2019 ArcGIS Pro
Número de ID del error BUG-000125736
EnviadoOctober 3, 2019
Última modificaciónJuly 24, 2025
Relacionado conArcGIS Pro
Versión encontrada2.4.1
Sistema operativoWindows OS
Versión corregida2.5
EstadoFixed

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000125736

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga