Invalid request body
Problem type
invalid-request-body
Status code
400 Bad Request
Reasons
Indicates that you provided an invalid request body. This is usually the case if you provide
invalid JSON as body for a POST
or PUT
request. The error might also indicate that you
provided an invalid multipart request.
Remedy
Check your request body for validity. In case of a JSON body, you might try using a validation tool like JSONLint. In case this is a multipart request, check the HTTP body structure, especially the multipart boundary.
Example problem document
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
Content-Length: 214
{
"type" : "invalid-request-body",
"title" : "unparsable request body",
"_links" : {
"documentation" : {
"href" : "https://apidocs.inxmail.com/xpro/rest/v1/problems/invalid-request-body"
}
}
}