Skip to content

Invalid request body

Request / invalid-body-property-format

The request body is missing or cannot be processed as the expected JSON.

HTTP 400
  1. Send valid JSON with Content-Type: application/json.
  2. Check the syntax, encoding and object or array structure against the endpoint schema.
  3. Do not send an empty body to an operation that requires message or sender data.
Response headers
HTTP/1.1 400
Content-Type: application/problem+json
Content-Language: en-US
Example API response
{
"type": "https://api.szybkisms.pl/problems/invalid-body-property-format/",
"status": 400,
"title": "Invalid Request Body Format",
"detail": "The request body is missing or malformed.",
"code": "400-1",
"instance": "/rest/messages/sms"
}

code is a diagnostic code for support. instance provides the request path. The example uses the current API identifiers.

1 situations
HTTP 400Whole request failureLink ↗

The request body is missing or malformed.

Check the JSON syntax and provide the required request body.

Any REST endpoint