Skip to content
SkanPay Docs

empty_body

This endpoint needs a JSON body and none was sent.

HTTP statustypeRetry the same request?
400invalid_request_errorafter a change

Why it happens

The request declared Content-Type: application/json but had no body.

What to do

Send the JSON object described in the reference for this endpoint.

Example response

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

All error codes