Skip to content

Resource not found

The addressed identity resource (human, agent, or key) does not exist.

  • GET /v1/admin/humans/:id is called with an id that has no human row.
  • GET /v1/admin/agents/:id is called with an id that has no agent row.
  • The generic lookup-miss code for the identity service; it is never used to mask an authorization failure (those are 401/403).
  • Verify the resource id. For admin reads, list the collection first (GET /v1/admin/agents) and use an id from the response.
  • A 404 here is terminal for the given id - do not retry without changing it.
  • Raised by: packages/identity/src/router/admin.ts - the GET /v1/admin/humans/:id and GET /v1/admin/agents/:id handlers.
  • Guard: const row = rows[0]; if (!row) return c.json({ code: IDENTITY_ERR.not_found, … }, 404).
{
"type": "https://citizenry.id/errors/ERR-P01-IDT-0404",
"title": "Not Found",
"status": 404,
"code": "ERR-P01-IDT-0404",
"message": "no agent with this id",
"method": "GET",
"instance": "/v1/admin/agents/ag_01J0AGENT",
"request_url": "https://api.citizenry.id/v1/admin/agents/ag_01J0AGENT",
"timestamp": "2026-05-17T07:00:00.000Z"
}
  • 0.1.0 - introduced.