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

Error Samples dont confirm to guidance #79

Open
JustABearOz opened this issue Jun 17, 2021 · 0 comments
Open

Error Samples dont confirm to guidance #79

JustABearOz opened this issue Jun 17, 2021 · 0 comments

Comments

@JustABearOz
Copy link

JustABearOz commented Jun 17, 2021

The guidance in error-handling.md state 2 different http status codes, 400 for 'Not well-formed JSON' and 422 for 'Validation Errors'. The sample directly below this is for a 400 with validation errors. This seems to go directly against the guidance directly above!.

I'd suggest either changing the guidance to allow 400s for validation errors (probably more widely used in industry) or change the example to be a 422 😁

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