Skip to content
SkanPay Docs

unsupported_media_type

The endpoint does not accept that Content-Type.

HTTP statustypeRetry the same request?
415invalid_request_errorafter a change

Why it happens

The body was sent as form data or plain text.

What to do

Send Content-Type: application/json with a JSON body.

Example response

415
{
  "error": {
    "type": "invalid_request_error",
    "code": "unsupported_media_type",
    "message": "A human-readable explanation. Do not parse it.",
    "doc_url": "https://docs.skanpay.website/errors/unsupported_media_type",
    "request_id": "req_01J9Z3K8Q4W6XK2M7N5P0R3T8V"
  }
}

All error codes