update bot key message

This commit is contained in:
Maidul Islam
2024-07-18 18:29:39 -04:00
parent 4ba529f22d
commit 6f0484f074
+2 -3
View File
@@ -418,9 +418,8 @@ func CallGetRawSecretsV3(httpClient *resty.Client, request GetRawSecretsV3Reques
} }
if response.IsError() && strings.Contains(response.String(), "bot_not_found_error") { if response.IsError() && strings.Contains(response.String(), "bot_not_found_error") {
return GetRawSecretsV3Response{}, fmt.Errorf(`project with id %s is a legacy project type, return GetRawSecretsV3Response{}, fmt.Errorf(`Project with id %s is incompatible with your current CLI version.
Legacy infisical instance: Please disable end to end encryption inside project settings. If you're self-hosting, update your Infisical instance to the latest release. Then, upgrade your project by visiting its settings page.
New infisical instances/cloud: Please upgrade your project by navigating to secret overview page and click on upgrade.
`, request.WorkspaceId) `, request.WorkspaceId)
} }