WayPoint测序API返回服务器错误,并且没有有关错误是什么的指导

发布于 2025-01-30 14:23:42 字数 876 浏览 1 评论 0 原文

我正在尝试在本指南中运行Waypoint测序请求:

这是我发出的邮递员请求(是的,我插入了我的API键)

https://wps.hereapi.com/v8/findsequence2?apiKey={MY_API_KEY}
&start=WiesbadenCentralStation;50.0715,8.2434
&destination1=FranfurtCentralStation;50.1073,8.6647
&destination2=DarmstadtCentralStation;49.8728,8.6326
&destination3=FrankfurtAirport;50.0505,8.5698
&destination4=HanauCentralStation;50.1218,8.9298
&end=MainzCentralStation;50.0021,8.259
&departure=2014-12-09T09:30:00%2b01:00
&mode=car;traffic:disabled;

我得到的只是:状态:500 Internal Internal服务器错误。

问题2: 如果我们必须指定100个航点,我们是否会遇到任何问题?

I am trying to run the waypoint sequencing request in this guide:
https://developer.here.com/documentation/routing-waypoints/dev_guide/topics/example-truck.html

This is the postman request I am issuing(Yes, I inserted my API key)

https://wps.hereapi.com/v8/findsequence2?apiKey={MY_API_KEY}
&start=WiesbadenCentralStation;50.0715,8.2434
&destination1=FranfurtCentralStation;50.1073,8.6647
&destination2=DarmstadtCentralStation;49.8728,8.6326
&destination3=FrankfurtAirport;50.0505,8.5698
&destination4=HanauCentralStation;50.1218,8.9298
&end=MainzCentralStation;50.0021,8.259
&departure=2014-12-09T09:30:00%2b01:00
&mode=car;traffic:disabled;

All I get is: Status: 500 Internal Server Error.

QUESTION 2:
If we have to specify 100 waypoints will we run into any issues?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

墨小沫ゞ 2025-02-06 14:23:42

对于与500个错误有关的问题,我们在最后看不到任何问题。

对于您的问题2:包括起点和目的地在内的最大航路点数量为120,没有流量,有50个流量。如果使用路由模式行人,则每个两个路点之间的距离不得大于5公里。您可以参考以下文档:

For the issue related to 500 error, we don't see any issue at our end.

For your question 2: The maximum number of waypoints including the start point and destination is 120 without traffic and 50 with traffic. If the routing mode pedestrian is used, the distance between each two of the waypoints must not be greater than 5km. You can refer to this doc:

https://developer.here.com/documentation/routing-waypoints/dev_guide/topics/request-constructing.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文