When it happens
- The service is busy: every database connection is in use, or the request waited too long for one.
- A database statement outside search timed out, or the database is under memory pressure.
- The database could not be reached.
- On retrieve: the record exists but cannot be assembled at the moment, for example while its source document is being replaced.
Retry-After is usually a few seconds, and longer under memory pressure.
What to do
Retry afterRetry-After seconds, with exponential backoff if it repeats. GET /v1/health shows whether the API can reach its data stores.
Example
Headers
Body