Error codes

operation_not_open

Operation not open yet

HTTP 404

The operation is staged: documented, and served once the switch its x-availability.opens_with names opens (referral_sandbox: when the referral sandbox opens; partner_events: when the partner security platform opens the events feed; signed_credentials: when signed credentials open; review_record: when review records open). Until then every call answers 404 with this code, before the key is checked, and nothing is written. Retry once it is open; until then, use the operations that are available.

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": "Operation not open yet",
  "code": "operation_not_open",
  "type": "https://secondappraisal.com/developers/errors/operation_not_open",
  "title": "Operation not open yet",
  "status": 404,
  "detail": "Operation not open yet",
  "instance": "/api/gap/v1/referrals/<id>/simulate",
  "request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}

Operations that can send it