Skip to content

Improve user feedback if no routable points can be found #2226

@koebi

Description

@koebi

Is there an existing issue for this?

  • I have searched the existing issues

Where did you encounter this issue?

live API

Request URL

https://api.openrouteservice.org/v2/pdirections/foot-walking/geojson?api_key=

POST Request Body

{"preference":"recommended","coordinates":[[9.303036,46.197362],[9.3061,46.150123]]}

Response

Response
{"error":{"code":2010,"message":"Could not find routable point within a radius of 350.0 meters of specified coordinate 0: 9.3030360 46.1973620."},"info":{"engine":{"build_date":"2025-10-31T12:33:09Z","graph_version":"3","graph_date":"2026-01-19T13:43:17Z","osm_date":"2026-01-12T00:59:56Z","version":"9.5.0"},"timestamp":1769762378543}}

Current behavior

Using the foot-hiking-profile, the request works fine. Using foot-walking, as given, it yields could not find routable point.

Expected behavior

The error message could make clearer what the reason for not finding a routable point is.

I would not expect this to get fixed soon, however…

Openrouteservice Version

9.5.0

Build date

No response

Graph date

No response

Forum Topic Link

https://ask.openrouteservice.org/t/calculating-a-gpx/7852/5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions