state_not_served
State not served
HTTP 422
At launchSent from launch, to a v2 key or a signed credential, once intake checks enforce; until then a referral is accepted and the finding only recorded.
We can't act as the appraiser for a vehicle in this state. The state judged is garaged_state when it is sent, else loss_state: the problem names it in state, and basis says which (garaged or loss). A referral with neither state is accepted.
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": "State not served",
"code": "state_not_served",
"type": "https://secondappraisal.com/developers/errors/state_not_served",
"title": "State not served",
"status": 422,
"detail": "State not served",
"instance": "/api/gap/v1/referrals",
"request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}Operations that can send it
- POST /api/gap/v1/referrals · HTTP 422 · Create a referral
- PATCH /api/gap/v1/referrals/{id} · HTTP 422 · Update or cancel a referral