Backend unavailable
ERR-P01-IDT-0503 - Backend unavailable
Section titled “ERR-P01-IDT-0503 - Backend unavailable”Summary
Section titled “Summary”A backend dependency the identity service needs is temporarily unavailable.
When this is raised
Section titled “When this is raised”- Reserved for the case where a required backend (the D1 binding or a bound service) is down or unreachable and the request should be retried rather than treated as a permanent failure.
- Distinct from
ERR-P01-IDT-4001(a DB query failed) andERR-P01-IDT-0500(an unexpected internal bug); 503 signals a transient availability problem.
What to do
Section titled “What to do”- Retry with exponential backoff (e.g. 1s, 2s, 4s, capped). Respect any
Retry-Afterheader if present. - If the condition persists for more than a few minutes, check the service status page or contact support - the outage is server-side.
Server-side cause
Section titled “Server-side cause”- Reserved - not currently emitted by any identity raise site. Declared
in
packages/spec/identity/errors.tspas the transport-level unavailable signal for future use.
Example response
Section titled “Example response”{ "type": "https://citizenry.id/errors/ERR-P01-IDT-0503", "title": "Service Unavailable", "status": 503, "code": "ERR-P01-IDT-0503", "message": "identity backend is temporarily unavailable", "method": "GET", "instance": "/v1/agent/me", "request_url": "https://api.citizenry.id/v1/agent/me", "timestamp": "2026-05-17T07:00:00.000Z"}Related codes
Section titled “Related codes”ERR-P01-IDT-0500- internal error (a bug, not an outage).ERR-P01-IDT-4001- DB failure (a specific query failure).
Changelog
Section titled “Changelog”- 0.1.0 - introduced.