Corrected HTTP error code

swagger.errors.invalid returned error "400" in the body while in the
HTTP header the code "404" was transmitted.