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.
上次发布: August 30, 2017ArcGIS Online
漏洞 ID 编号
BUG-000106180
已提交
June 28, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS Online
找到的版本
5.2
操作系统
Ubuntu Linux
操作系统版本
N/A
修正版本
4.1 -
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
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