paperclipai/paperclip · error
Provider vault not found
Error message
Provider vault not found
What it means
Error "Provider vault not found" thrown in paperclipai/paperclip.
Source
Thrown at server/src/routes/secrets.ts:473
const existing = await getAccessibleResource(req, res, svc.getProviderConfigById(req.params.id as string), "Provider vault not found");
if (!existing) return;
res.json(existing);
});
router.patch("/secret-provider-configs/:id", validate(updateSecretProviderConfigSchema), async (req, res) => {
assertBoard(req);
const id = req.params.id as string;
const existing = await getAccessibleResource(req, res, svc.getProviderConfigById(id), "Provider vault not found");
if (!existing) return;
const updated = await svc.updateProviderConfig(id, {
displayName: req.body.displayName,
status: req.body.status,
isDefault: req.body.isDefault,
config: req.body.config,
});
if (!updated) {
res.status(404).json({ error: "Provider vault not found" });
return;
}
await logActivity(db, {
companyId: updated.companyId,
actorType: "user",
actorId: req.actor.userId ?? "board",
action: "secret_provider_config.updated",
entityType: "secret_provider_config",
entityId: updated.id,
details: {
provider: updated.provider,
displayName: updated.displayName,
status: updated.status,
isDefault: updated.isDefault,
},
});
View on GitHub (pinned to 01ad858492)
Solutions
- Create the provider vault for the company before storing or reading provider secrets.
- Verify the vault id/provider name in the request is correct for this company.
When it happens
Trigger: Thrown at server/src/routes/secrets.ts:463 when the library encounters an invalid state.
Common situations: Returned when a secrets operation references a provider vault that has not been created for the company.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/9af3873613a3b0a8.
Report an issue: GitHub.