here.com API 给出 400 错误请求错误
here.com API giving 400 bad request error
我正在使用 here.com api 计算美国佐治亚州劳伦斯维尔和洛克本博士的两个位置之间的距离,请参阅下面的 url
https://route.ls.hereapi.com/routing/7.2/calculateroute.json?apiKey=API_KEY&waypoint0=geo!33.95312,-83.98804&waypoint1=geo!39.26732,-84.54907&routeattributes=wp,sm,sh,sc&mode=fastest;truck。但它给我一个 400 错误请求的错误。我收到以下回复。
{"_type":"ns2:RoutingServiceErrorType","type":"ApplicationError","subtype":"NoRouteFound","details":"Error is NGEO_ERROR_GRAPH_DISCONNECTED","additionalData":[{"key":"error_code","value":"NGEO_ERROR_GRAPH_DISCONNECTED"}],"metaInfo":{"timestamp":"2021-04-06T17:35:53Z","mapVersion":"8.30.119.151","moduleVersion":"7.2.202114-8610","interfaceVersion":"2.6.76","availableMapVersion":["8.30.119.151"]}}
请帮助我。
基于 here documentation 这看起来像 'no route could be constructed based on the input parameter'。
我正在使用 here.com api 计算美国佐治亚州劳伦斯维尔和洛克本博士的两个位置之间的距离,请参阅下面的 url
https://route.ls.hereapi.com/routing/7.2/calculateroute.json?apiKey=API_KEY&waypoint0=geo!33.95312,-83.98804&waypoint1=geo!39.26732,-84.54907&routeattributes=wp,sm,sh,sc&mode=fastest;truck。但它给我一个 400 错误请求的错误。我收到以下回复。
{"_type":"ns2:RoutingServiceErrorType","type":"ApplicationError","subtype":"NoRouteFound","details":"Error is NGEO_ERROR_GRAPH_DISCONNECTED","additionalData":[{"key":"error_code","value":"NGEO_ERROR_GRAPH_DISCONNECTED"}],"metaInfo":{"timestamp":"2021-04-06T17:35:53Z","mapVersion":"8.30.119.151","moduleVersion":"7.2.202114-8610","interfaceVersion":"2.6.76","availableMapVersion":["8.30.119.151"]}}
请帮助我。
基于 here documentation 这看起来像 'no route could be constructed based on the input parameter'。