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

Making a POST request without data element gives unhelpful error #37

Open
obmarg opened this issue Aug 12, 2016 · 0 comments
Open

Making a POST request without data element gives unhelpful error #37

obmarg opened this issue Aug 12, 2016 · 0 comments

Comments

@obmarg
Copy link
Contributor

obmarg commented Aug 12, 2016

If you make a POST request without a data element at the top level, you hit this exception:

raise FlumpUnprocessableEntity

Which returns a 422 with errors set to null. This is not very helpful. We should probably return a 422 with actual errors. Maybe FlumpUnprocessableEntity should require error parameters...

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

1 participant