Return the validation errors to the client