Associate api error detail with model error message

@lgebhardt @dgeb Why there is 400 code? Thought , that 422 is more suitable.