Hi,
I am running it locally. However, public transport is not working, I get the following error,
Traceback (most recent call last): File "test_openrouter.py", line 13, in <module> route = client.directions((start_coords, end_coords), profile='public-transport') File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/client.py", line 299, in wrapper result = func(*args, **kwargs) File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/directions.py", line 281, in directions return client.request("/v2/directions/" + profile + '/' + format, {}, post_json=params, dry_run=dry_run) File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/client.py", line 204, in request result = self._get_body(response) File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/client.py", line 242, in _get_body raise exceptions.ApiError( openrouteservice.exceptions.ApiError: 500 ({'error': {'code': 2099, 'message': 'Unable to get an appropriate route profile for RoutePreference = unknown'}, 'info': {'engine': {'build_date': '2024-03-21T13:55:54Z', 'version': '8.0.0'}, 'timestamp': 1746562755033}}) Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 76, in apport_excepthook binary = os.path.realpath(os.path.join(os.getcwd(), sys.argv[0])) FileNotFoundError: [Errno 2] No such file or directory Original exception was: Traceback (most recent call last): File "test_openrouter.py", line 13, in <module> route = client.directions((start_coords, end_coords), profile='public-transport') File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/client.py", line 299, in wrapper result = func(*args, **kwargs) File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/directions.py", line 281, in directions return client.request("/v2/directions/" + profile + '/' + format, {}, post_json=params, dry_run=dry_run) File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/client.py", line 204, in request result = self._get_body(response) File "/home/bhavin/.local/lib/python3.10/site-packages/openrouteservice/client.py", line 242, in _get_body raise exceptions.ApiError( openrouteservice.exceptions.ApiError: 500 ({'error': {'code': 2099, 'message': 'Unable to get an appropriate route profile for RoutePreference = unknown'}, 'info': {'engine': {'build_date': '2024-03-21T13:55:54Z', 'version': '8.0.0'}, 'timestamp': 1746562755033}})