Error codes

duplicate_referral

Loss already referred

HTTP 409

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.

Your institution already referred this loss (the same VIN and date of loss, or the same carrier and claim number) in this key's mode, and that referral is not cancelled. existing_referral_id names it.

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": "Loss already referred",
  "code": "duplicate_referral",
  "type": "https://secondappraisal.com/developers/errors/duplicate_referral",
  "title": "Loss already referred",
  "status": 409,
  "detail": "Loss already referred",
  "instance": "/api/gap/v1/referrals",
  "request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}

Operations that can send it