Error codes

credentials_unavailable

Credentials unavailable

HTTP 503

We couldn't check the API key or signed credential just now, so the call was refused. It wasn't counted against the key's rate limit, nothing was written to the key, and a signed request's nonce wasn't spent. Retry after the seconds in Retry-After; if it persists, send the request_id to business@secondappraisal.com.

The problem body

Sent as application/problem+json, with the request id in request_id and the X-Request-Id header. Branch on code: the error and detail sentences can change, and some operations add members of their own.

Example problem
{
  "error": "API keys can't be checked just now. Retry shortly.",
  "code": "credentials_unavailable",
  "type": "https://secondappraisal.com/developers/errors/credentials_unavailable",
  "title": "Credentials unavailable",
  "status": 503,
  "detail": "API keys can't be checked just now. Retry shortly.",
  "instance": "/api/gap/v1/referrals",
  "request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}

Operations that can send it