diff options
-rw-r--r-- | redfish-core/src/error_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/src/error_messages.cpp b/redfish-core/src/error_messages.cpp index bc4cba6..0eda7b4 100644 --- a/redfish-core/src/error_messages.cpp +++ b/redfish-core/src/error_messages.cpp @@ -251,7 +251,7 @@ void unrecognizedRequestBody(crow::Response& res) void resourceAtUriUnauthorized(crow::Response& res, const std::string& arg1, const std::string& arg2) { - res.result(boost::beast::http::status::forbidden); + res.result(boost::beast::http::status::unauthorized); addMessageToErrorJson( res.jsonValue, nlohmann::json{ |