api / errors
Unsupported media type
HTTP 415, code unsupported_media_type.
Updated · API v1
What it means
A POST or PATCH body was not sent as JSON.
What to do
Send Content-Type: application/json.
Not retryable as it is: sending the same request again gives the same answer.
The answer
{
"type": "https://www.adspy.sh/docs/api/errors/unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "…",
"code": "unsupported_media_type",
"request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
"instance": "/api/v1/…"
}Every error type and how to handle them.