invalid_transition
Invalid transition
HTTP 409
The referral's status doesn't allow this step: a simulation moves a sandbox referral only along its lifecycle, and an attestation is accepted only while the referral waits for one.
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.
{
"error": "Invalid transition",
"code": "invalid_transition",
"type": "https://secondappraisal.com/developers/errors/invalid_transition",
"title": "Invalid transition",
"status": 409,
"detail": "Invalid transition",
"instance": "/api/gap/v1/referrals/<id>/simulate",
"request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}Operations that can send it
- POST /api/gap/v1/referrals/{id}/simulate · HTTP 409 · Simulate a sandbox referral's next stepAt launchIt opens with the referral sandbox.
- POST /api/gap/v1/referrals/{id}/attest · HTTP 409 · Attest a warm handoffAt launchIt opens with the referral sandbox.