Docs / Errors
SERVICE_UNAVAILABLE
503Service unavailableWhy it happens
The service is busy right now. On a change feed (donations, recurring donations, receipts, Gift Aid declarations and claims), it means too many pages are being read at once, or a page took too long to read. Nothing was skipped: your cursor is still valid.
What to do
- Wait for the
Retry-Afterseconds, then call again with the same cursor. - Read one page at a time: start the next call once the previous one has answered.
Example response
HTTP/1.1 503 · Retry-After: 5
{
"type": "https://hub.masjidbox.com/docs/errors/SERVICE_UNAVAILABLE",
"title": "Service unavailable",
"status": 503,
"detail": "The service is busy. Retry after the delay in Retry-After.",
"instance": "/v1/masjids/msj_abc123defg",
"code": "SERVICE_UNAVAILABLE",
"requestId": "req_8f14e45fceea167a5a36dedd4bea2543",
"requestLogUrl": "https://hub.masjidbox.com/console/logs/req_8f14e45fceea167a5a36dedd4bea2543"
}