Error
media_type_unsupported
Status 415 Unsupported Media Type. This route does not accept that Content-Type.
What to do
Send the body as JSON, with Content-Type: application/json, or send none to an operation that takes no body.
Who answers it
- Create a challenge
POST /challenges - Read a challenge
GET /challenges/{id} - Cancel a challenge
POST /challenges/{id}/cancel - List a challenge's deliveries
GET /challenges/{id}/deliveries - Read a challenge's frames
GET /challenges/{id}/frames - List events
GET /events - Read an event
GET /events/{id} - Deliver an event again
POST /events/{id}/redeliver - Refer a person
POST /subjects - Search subjects by reference
POST /subjects/search - Read a subject
GET /subjects/{id} - Enroll a reference face
PUT /subjects/{id}/reference-face - Delete a reference face
DELETE /subjects/{id}/reference-face - Ask a person to delegate
POST /delegations - Read a delegation request
GET /delegations/{id}
An example
{
"error": {
"code": "media_type_unsupported",
"message": "This route does not accept that Content-Type.",
"details": [],
"request_id": "01JD2RD9E1G3J5K7M9N1P3R5S7",
"doc_url": "https://xipid.org/errors/media_type_unsupported"
}
}