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

Show error messages #1521

Closed
mdoering opened this issue Jan 14, 2025 · 0 comments
Closed

Show error messages #1521

mdoering opened this issue Jan 14, 2025 · 0 comments
Assignees

Comments

@mdoering
Copy link
Member

When a bad request is made and a 400 error returned there is no way to understand why the request was wrong.
Status 400 is probably also not sth users do understand.

For example here:
https://www.checklistbank.org/catalogue/3/sector?limit=100&mode=merge&nested=true&offset=0

The API returns a 400 response together with this message:

"message": "A nested sector search requires either an ID or NAME parameter"

The message normally exists for all errors, not just bad requests.

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

No branches or pull requests

2 participants