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

Improve API Error Messages #18

Open
ab-10 opened this issue Oct 30, 2018 · 0 comments
Open

Improve API Error Messages #18

ab-10 opened this issue Oct 30, 2018 · 0 comments

Comments

@ab-10
Copy link
Owner

ab-10 commented Oct 30, 2018

Currently for both API endpoints (/properties/api and /roleBasedVote/api) a request that does not have all of the required parameters returns {Invalid request}.

There are two problems with this:

  1. The response is not informative enough. The response should specify which parameters were missing.
  2. For property handler, it should be permitted to have a missing comparison if the properties is set to p and missing pivot if properties is set to c.
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

1 participant