【问题标题】:here.com API giving 400 bad request errorhere.com API 给出 ​​400 错误请求错误
【发布时间】:2021-04-06 17:43:18
【问题描述】:

我正在使用 here.com api 来计算 Lawrenceville, GA, United States & Lockbourne Dr and 两个位置之间的距离,请参阅下面的网址

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 bad reqest 的错误。我收到以下回复。

{"_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"]}}

请帮帮我。

【问题讨论】:

    标签: javascript routes here-api


    【解决方案1】:

    基于here documentation,这看起来像“无法根据输入参数构造路线”。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-09-25
      • 2018-06-07
      • 1970-01-01
      • 2018-11-20
      • 2022-01-04
      • 2020-10-28
      • 1970-01-01
      • 2017-01-22
      相关资源
      最近更新 更多