Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Change error msg

Fang-Pen Lina26b13e517ec
diff --git a/backend/src/ee/services/pki-acme/pki-acme-service.ts b/backend/src/ee/services/pki-acme/pki-acme-service.ts
index 0521c2a6d5..55e9cc43fe 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-service.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-service.ts
@@ -133,7 +133,9 @@ export const pkiAcmeServiceFactory = ({
}
const orgLicensePlan = await licenseService.getPlan(profile.project!.orgId);
if (!orgLicensePlan.pkiAcme) {
- throw new AcmeUnauthorizedError({ message: "The organization does not have a valid license to use ACME" });
+ throw new AcmeUnauthorizedError({
+ message: "Failed to validate ACME profile: Plan restriction. Upgrade plan to continue"
+ });
}
return profile;
};