diff --git a/src/http_server.cpp b/src/http_server.cpp index 6abaa4c6bf..29bc616df3 100644 --- a/src/http_server.cpp +++ b/src/http_server.cpp @@ -88,8 +88,8 @@ static const net_http::HTTPStatusCode http(const ovms::Status& status) { {StatusCode::MEDIAPIPE_DEFINITION_NAME_MISSING, net_http::HTTPStatusCode::NOT_FOUND}, {StatusCode::MODEL_VERSION_MISSING, net_http::HTTPStatusCode::NOT_FOUND}, {StatusCode::MODEL_VERSION_NOT_LOADED_ANYMORE, net_http::HTTPStatusCode::NOT_FOUND}, - {StatusCode::MODEL_VERSION_NOT_LOADED_YET, net_http::HTTPStatusCode::SERVICE_UNAV}, - {StatusCode::PIPELINE_DEFINITION_NOT_LOADED_YET, net_http::HTTPStatusCode::SERVICE_UNAV}, + {StatusCode::MODEL_VERSION_NOT_LOADED_YET, net_http::HTTPStatusCode::NOT_FOUND}, + {StatusCode::PIPELINE_DEFINITION_NOT_LOADED_YET, net_http::HTTPStatusCode::NOT_FOUND}, {StatusCode::PIPELINE_DEFINITION_NOT_LOADED_ANYMORE, net_http::HTTPStatusCode::NOT_FOUND}, {StatusCode::MODEL_SPEC_MISSING, net_http::HTTPStatusCode::BAD_REQUEST}, {StatusCode::INVALID_SIGNATURE_DEF, net_http::HTTPStatusCode::BAD_REQUEST},