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

500 error responses to requests with unknown shortnames #221

Open
bwmcbride opened this issue Feb 28, 2020 · 0 comments
Open

500 error responses to requests with unknown shortnames #221

bwmcbride opened this issue Feb 28, 2020 · 0 comments
Assignees
Labels

Comments

@bwmcbride
Copy link
Member

Elda responds to requests with unknown shortnames with a 500 internal server error response, e.g.

https://landregistry.data.gov.uk/doc/region/devon.html?_properties=label,sameas

s/sameas/sameAs/ works.

The effect of this can be significant spikes in the rate of 500 errors which trigger ops investigations when some app accessing the api sends a lot of requests containing such errors.

These are bad requests and the correct response is 400 bad request.

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

No branches or pull requests

2 participants