unsupported_media_type
Unsupported media type
HTTP 415
A request body must be sent with Content-Type: application/json.
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": "Content-Type must be application/json",
"code": "unsupported_media_type",
"type": "https://secondappraisal.com/developers/errors/unsupported_media_type",
"title": "Unsupported media type",
"status": 415,
"detail": "Content-Type must be application/json",
"instance": "/api/gap/v1/referrals",
"request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}Operations that can send it
- POST /api/gap/v1/referrals · HTTP 415 · Create a referral
- PATCH /api/gap/v1/referrals/{id} · HTTP 415 · Update or cancel a referral
- POST /api/gap/v1/referrals/bulk · HTTP 415 · Create referrals in bulk
- POST /api/gap/v1/referrals/{id}/simulate · HTTP 415 · Simulate a sandbox referral's next stepAt launchIt opens with the referral sandbox.
- POST /api/gap/v1/referrals/{id}/attest · HTTP 415 · Attest a warm handoffAt launchIt opens with the referral sandbox.
- POST /api/gap/v1/plans/enrollments · HTTP 415 · Enroll one vehicle
- PATCH /api/gap/v1/plans/enrollments/{id} · HTTP 415 · Cancel, swap the VIN, or edit contact details
- POST /api/gap/v1/plans/enrollments/bulk · HTTP 415 · Enroll up to 500 vehicles
- POST /api/gap/v1/plans/roster-sync · HTTP 415 · Reconcile your full roster
- POST /api/gap/v1/plans/loss-notices · HTTP 415 · Tell us a member vehicle was declared a total loss
- POST /api/gap/v1/review-status/lookup · HTTP 415 · Look up review status by VIN, claim number or referenceAt launchIt opens with review records.