From 2f17f5e7df877537dff2d17690eedd1fac3a7315 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 19 Jul 2024 14:50:16 -0400 Subject: [PATCH] update bot not found message --- cli/packages/api/api.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/packages/api/api.go b/cli/packages/api/api.go index 6e21fa837..184874f8a 100644 --- a/cli/packages/api/api.go +++ b/cli/packages/api/api.go @@ -421,8 +421,7 @@ func CallGetRawSecretsV3(httpClient *resty.Client, request GetRawSecretsV3Reques (strings.Contains(response.String(), "bot_not_found_error") || strings.Contains(strings.ToLower(response.String()), "failed to find bot key") || strings.Contains(strings.ToLower(response.String()), "bot is not active")) { - return GetRawSecretsV3Response{}, fmt.Errorf(`Project with id %s is incompatible with your current CLI version. - If you're self-hosting, update your Infisical instance to the latest release. Then, upgrade your project by visiting its settings page. + return GetRawSecretsV3Response{}, fmt.Errorf(`Project with id %s is incompatible with your current CLI version. Upgrade your project by visiting the project settings page. If you're self hosting and project upgrade option isn't yet available, contact your administrator to upgrade your Infisical instance to the latest release. `, request.WorkspaceId) }