Taifa Identity. Docs
OpenAPI Developers

Operate

Errors and troubleshooting

API contract2 min read View .md

Errors and troubleshooting

Start with the request ID, the operation that failed, and the boundary responsible for it. Redact tokens, passwords, TOTP seeds, passkey payloads, invitation links and private evidence before sharing diagnostics.

SymptomLikely boundaryNext check
Authorization callback has wrong state or nonceApplication login transactionDiscard the attempt and start again from /login; never replay a callback URL.
Code exchange failsClient and issuerConfirm exact redirect, original PKCE verifier, one-use code, client secret where required, and issuer discovery.
Token rejected by managementAPI authenticationCheck signed issuer, taifa-management audience, expiry and JWKS; an ID token will not work.
403 after a valid loginGovernance or product accessCheck current Person, Institution, project, local account and role.
409 on mutationReview or idempotency stateCompare request body and key, current approval, version and issuer binding.
Lifecycle gate closesProduct consumerCheck dedicated signature, ordered cursor, receipt head, freshness and snapshot recovery.
Mail request is pending or ambiguousDelivery workerPoll the saved provider ID and reconcile before resubmission.
Owned issuer will not startRelease gateConfirm disposable loopback mode, database name, exact portal client and required keys. Production startup is disabled.

Management response shapes

Most management failures use {"detail":"..."}. Validation failures can return structured entries in detail. The API includes X-Request-ID in responses. Preserve it with the HTTP status and route, then inspect the exact schema in management API. Do not parse the human detail string as a stable machine error code.

Repeat safely

A human mutation’s Idempotency-Key is scoped to actor and request content. Retry the same key with the same body after an uncertain response. A changed body with the same key returns 409. Product installation and acknowledgement should also be idempotent, but use the exact lifecycle entity version or link binding as the unit of work. When authority freshness expires, restore connectivity and catch up before reopening protected access.

Popular

Browse by section