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

Display more informative errors/warnings #43

Open
seladore opened this issue Jan 11, 2018 · 1 comment
Open

Display more informative errors/warnings #43

seladore opened this issue Jan 11, 2018 · 1 comment

Comments

@seladore
Copy link
Contributor

create_dataset() and create_resource() both do not display informative error/warnings when a field is populated incorrectly.

example
current

Error: Client error: (406) Not Acceptable - error: An illegal choice has been detected. Please contact the site administrator.

suggested

{"form_errors":{"field_topic][und":"An illegal choice has been detected. Please contact the site administrator.","field_wbddh_data_type][und":"An illegal choice has been detected. Please contact the site administrator."]}
@seladore
Copy link
Contributor Author

Guidelines are highlighted in user exp design for apis

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