Errors
Unsupported media type
The `unsupported_media_type` error: HTTP 415 Unsupported Media Type.
Send JSON with Content-Type: application/json for an operation that accepts a JSON body.
| Field | Value |
|---|---|
code | unsupported_media_type |
status | 415 Unsupported Media Type |
title | Unsupported media type |
The API answers every error with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is unsupported_media_type. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/unsupported_media_type",
"title": "Unsupported media type",
"status": 415,
"code": "unsupported_media_type",
"requestId": "4bf92f3577b34da6a3ce929d0e0e4736"
}requestId is the request's ID, the same as its Request-Id header: send it with any question to support.