paperclipai/paperclip · error
Company not found
Error message
Company not found
What it means
The agent hire flow looked up the company by id after normalizing inputs and found no row. The company targeted by the hire no longer exists, so hire creation aborts with a not-found error.
Source
Thrown at server/src/routes/agents.ts:3636
actorId: actor.actorId,
action: "agent.skills_synced",
entityType: "agent",
entityId: updated.id,
agentId: actor.agentId,
runId: actor.runId,
agentApiKeyId: actor.agentApiKeyId,
details: {
adapterType: updated.adapterType,
desiredSkills,
desiredSkillEntries,
assignmentMode: req.body.mode,
mode: snapshot.mode,
supported: snapshot.supported,
entryCount: snapshot.entries.length,
warningCount: snapshot.warnings.length,
},
});
res.json(snapshot);
},
);
router.get("/companies/:companyId/agents", async (req, res) => {
const companyId = req.params.companyId as string;
assertCompanyAccess(req, companyId);
const unsupportedQueryParams = Object.keys(req.query).sort();
if (unsupportedQueryParams.length > 0) {
res.status(400).json({
error: `Unsupported query parameter${unsupportedQueryParams.length === 1 ? "" : "s"}: ${unsupportedQueryParams.join(", ")}`,
});
return;
}
const result = await filterAgentsForActor(req, await svc.list(companyId));
const canReadConfigs = await actorCanReadConfigurationsForCompany(req, companyId);
if (canReadConfigs) {
res.json(result.map((agent) => redactAgentRowForResponse(agent)));View on GitHub (pinned to 01ad858492)
Solutions
- Verify the company id is correct and the company exists.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at server/src/routes/agents.ts:3182 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/3eb2880b8dda2780.
Report an issue: GitHub.