Error codes

vin_already_live

VIN already enrolled

HTTP 409

Not sent from version 1.4.0, when a vehicle with a live membership, your institution's included, is answered 422 vin_not_enrollable. Before then: the vehicle already had a live membership.

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": "This vehicle already has an active membership. If you think that's a mistake, contact support and we'll sort it out.",
  "code": "vin_already_live",
  "type": "https://secondappraisal.com/developers/errors/vin_already_live",
  "title": "VIN already enrolled",
  "status": 409,
  "detail": "This vehicle already has an active membership. If you think that's a mistake, contact support and we'll sort it out.",
  "instance": "/api/gap/v1/plans/enrollments",
  "request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}

Operations that can send it