Skip to content

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

Update backend/src/services/external-migration/external-migration-service.ts

syedmazharalirazad22c5901802a
diff --git a/backend/src/services/external-migration/external-migration-service.ts b/backend/src/services/external-migration/external-migration-service.ts
index bde6cf26c9..c1cd901ac6 100644
--- a/backend/src/services/external-migration/external-migration-service.ts
+++ b/backend/src/services/external-migration/external-migration-service.ts
@@ -429,7 +429,7 @@ export const externalMigrationServiceFactory = ({
}
if (existingConfig.orgId !== actor.orgId) {
- throw new ForbiddenRequestError({ message: "Config does not belong to this organization" });
+ throw new NotFoundError({ message: "Vault migration config not found" });
}
if (connectionId) {