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 validation errors of pre-composed documents #551

Closed
eduardoboucas opened this issue Apr 30, 2019 · 0 comments · Fixed by #595
Closed

Show validation errors of pre-composed documents #551

eduardoboucas opened this issue Apr 30, 2019 · 0 comments · Fixed by #595

Comments

@eduardoboucas
Copy link
Contributor

When the insertion of a pre-composed document generates an error, the main request fails with a 400, but shows a non-descriptive "Validation failed" message. We need to make sure that the original validation errors bubble up to the main request.

The format of the error is a question, as we need to indicate the document that failed, the field it belongs to as well as the (nested) fields that caused the problem, if applicable.

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

Successfully merging a pull request may close this issue.

1 participant