Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Default error handlers should return 422 status code to client? #38
Currently, error handlers return a 400 response. It may be more appropriate to return a 422, which is typically used for ValidationErrors.
From RFC 4918:
I am not an expert at this, but I'd like to discuss more about this.
Wouldn't "invalid request message framing" cover the scenarios where a ValidationError would be raised?