You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last location is causing all of the distance & duration results to become null. If you remove the last location from the request then the distance & duration arrays start to return numerical values.
Expected behavior
All of the locations except for the last one should return numbers. The distance & duration for the last one should be null.
Is there an existing issue for this?
Where did you encounter this issue?
live API, self-hosted instance
Request URL
https://api.openrouteservice.org/v2/matrix/driving-car
POST Request Body
Response
Response
Current behavior
The last location is causing all of the distance & duration results to become null. If you remove the last location from the request then the distance & duration arrays start to return numerical values.
Expected behavior
All of the locations except for the last one should return numbers. The distance & duration for the last one should be null.
Openrouteservice Version
8.0.0
Build date
2024-03-21T13:55:54Z
Graph date
2024-04-28T13:28:40Z
Forum Topic Link
https://ask.openrouteservice.org/t/matrix-endpoint-returning-null-for-all-locations-when-some-routes-exist/6046
The text was updated successfully, but these errors were encountered: