Skip to content

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

feat: add better error message

Meet73a9cf01f324
diff --git a/backend/src/ee/services/dynamic-secret/providers/ldap.ts b/backend/src/ee/services/dynamic-secret/providers/ldap.ts
index aa0182c761..0d47c530c5 100644
--- a/backend/src/ee/services/dynamic-secret/providers/ldap.ts
+++ b/backend/src/ee/services/dynamic-secret/providers/ldap.ts
@@ -94,7 +94,7 @@ export const LdapProvider = (): TDynamicProviderFns => {
try {
parsedEntries = ldif.parse(ldif_file).entries as any[];
} catch (err) {
- throw new BadRequestError({ message: "Invalid LDIF, Please check LDIF entries section in the documentation." });
+ throw new BadRequestError({ message: "Invalid LDIF format, refer to the documentation at Dynamic secrets > LDAP > LDIF Entries." });
}
const dnArray: string[] = [];