When it fires
A service the endpoint depends on (for example ZeroID’s database or a blockchain RPC provider) could not be reached, and the endpoint cannot answer without it. Almost every endpoint can return it. It is distinct fromINTERNAL_ERROR (“something unexpected happened”) and from ROUTE_DISABLED (“ZeroID disabled this on purpose”).
Why it happens
- A transient infrastructure blip (most common; clears in seconds).
- A sustained outage of a dependency that ZeroID is already working on.
How to fix
- Honour
Retry-Afterand back off with jitter. Most occurrences clear within one retry. - The TypeScript SDK raises this as
KashServerErrorand retries it automatically within its retry budget. - Retry writes with the same
Idempotency-Keyso a retry cannot execute twice. See Idempotency. - If retries keep failing for more than a few minutes, contact ZeroID support with a
requestId.
Related codes
API_TRADE_PROCESSING_HALTED— API trading temporarily unavailableMARKET_NOT_QUOTABLE— the chain was read and refused the quote (not retryable)REQUEST_TIMEOUT,INTERNAL_ERROR