Skip to content
New issue

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

Server Status Code 500 vs. 400 #19

Open
boldtrn opened this issue Feb 15, 2018 · 0 comments
Open

Server Status Code 500 vs. 400 #19

boldtrn opened this issue Feb 15, 2018 · 0 comments

Comments

@boldtrn
Copy link

boldtrn commented Feb 15, 2018

As mentioned here, I think Gisgraphy should return status code 400 for invalid arguments provided by the user. 500 indicates an issue with the server.

In this case I would have expected the server to return a 400 error code "Bad Request" and not a 500 "Internal Server Error".

https://services.gisgraphy.com/geocoding/?address=&format=json&apikey=...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants