mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: updated bot not found error message
This commit is contained in:
@@ -418,7 +418,10 @@ func CallGetRawSecretsV3(httpClient *resty.Client, request GetRawSecretsV3Reques
|
||||
}
|
||||
|
||||
if response.IsError() && strings.Contains(response.String(), "bot_not_found_error") {
|
||||
return GetRawSecretsV3Response{}, fmt.Errorf("project with id %s is a legacy project type, please navigate to project settings and disable end to end encryption then try again", request.WorkspaceId)
|
||||
return GetRawSecretsV3Response{}, fmt.Errorf(`project with id %s is a legacy project type,
|
||||
Legacy infisical instance: Please disable end to end encryption inside project settings.
|
||||
New infisical instances/cloud: Please upgrade your project by navigating to secret overview page and click on upgrade.
|
||||
`, request.WorkspaceId)
|
||||
}
|
||||
|
||||
if response.IsError() {
|
||||
|
||||
Reference in New Issue
Block a user