From ac656794a1ccc9864a5a4fd9c4672dd3d942bff1 Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Thu, 7 Mar 2024 14:14:40 +0200 Subject: Update map of possible server response codes Change-Id: I775f03897e98f5a936c773ec61a00a6d115333ea Reviewed-by: Lam Pham Reviewed-by: Iikka Eklund (cherry picked from commit 8c84a165df2dc42d55661153619a7be639a1a268) Reviewed-by: Qt Cherry-pick Bot --- src/libs/qlicensecore/status.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/qlicensecore/status.cpp b/src/libs/qlicensecore/status.cpp index 039c83f..18b2641 100644 --- a/src/libs/qlicensecore/status.cpp +++ b/src/libs/qlicensecore/status.cpp @@ -55,6 +55,7 @@ static const std::map sc_responseInfoMap = { {"4101002", Status::BAD_REQUEST}, // Username invalid {"4010000", Status::UNAUTHORIZED}, // Authentication failed {"4100000", Status::UNAUTHORIZED}, // Not authorized + {"4001000", Status::UNAUTHORIZED}, // Not authorized {"4100012", Status::LICENSE_POOL_FULL}, // License pool fully reserved {"4100010", Status::LICENSE_REJECTED}, // License not found {"4004000", Status::SERVICE_VERSION_TOO_NEW}, // Service version is newer than Server version -- cgit v1.2.3