Switch to code 422 for validation errors