graphhopper / directions-api

Issues for the GraphHopper Directions API
https://graphhopper.com/api/1/docs/
60 stars 25 forks source link

Meaning of error code 501 #83

Open oblonski opened 6 years ago

oblonski commented 6 years ago

What is again the meaning of 501? Here https://graphhopper.com/api/1/docs/#http-error-codes it says only

Only a special list of vehicles is supported.

Does this mean that the user uses a vehicle he is not allowed to use? If so, shouldn't this be covered with error code 400?

karussell commented 6 years ago

In general: "A 501 is an HTTP status code for not implemented."

And all errors >= 500 are server side problems or bugs. What is the detailed request and/or message?