We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current behavior: When a route isn't found, a 500 HTTP status is returned with the following response
{ "error":{ "code":2099, "message":"Connection between locations not found" }, "info":{ "engine":{ "version":"4.5.0", "build_date":"2018-02-27T14:22:36Z" }, "timestamp":1520362248836 } }
Expected behavior A 404 HTTP status code, or eventually an unique error code (not 2099, which is Unknown error).
According to this test case, it seems that it's by design:
openrouteservice/openrouteservice-api-tests/src/test/java/heigit/ors/services/routing/ResultTest.java
Line 722 in e703b6c
Is there any reason it is implemented like this?
Thanks!
The text was updated successfully, but these errors were encountered:
Code has been updated so that a 2009 internal error code is returned with a 404 http response
Sorry, something went wrong.
shelters: add support for route 404 fix
4ecd1af
GIScience/openrouteservice#144 (comment)
a6a085a
edf8cc4
rabidllama
No branches or pull requests
Current behavior:
When a route isn't found, a 500 HTTP status is returned with the following response
Expected behavior
A 404 HTTP status code, or eventually an unique error code (not 2099, which is Unknown error).
According to this test case, it seems that it's by design:
openrouteservice/openrouteservice-api-tests/src/test/java/heigit/ors/services/routing/ResultTest.java
Line 722 in e703b6c
Is there any reason it is implemented like this?
Thanks!
The text was updated successfully, but these errors were encountered: