-
Notifications
You must be signed in to change notification settings - Fork 14
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
Wrong response status code if UID doesn't exist #49
Comments
where did you obtain the uid? for example: https://stapi.co/api/v1/rest/animal?uid=ANMA0000028270 |
I don't believe 500 is an appropriate status code if no record with a given id (e.g. 1) exists |
gotcha, yeah 404 would be more appropriate. sorry, should have read title not just description |
Don't worry, I edited the title just a few hours back. It used to be more generic |
Hey! I checked your OpenAPI, and it seems to be incorrect. I tried a few endpoints, and in all cases I got a 500. For example, I hit:
I realize it's a volunteer project so I don't have any complaints, but I figured you should be informed 🙂
The text was updated successfully, but these errors were encountered: