BizKitHub
PUBLIC_REQUEST_BODY_PARSE_FAILED

Request body could not be parsed.

HTTP 400Public API
The body is not valid JSON (or does not match its `Content-Type`).

How to resolve

  1. 1

    Check that the body is valid JSON and `Content-Type` is `application/json`.

Example response

The API answers with HTTP 400 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.

application/json
{
  "state": "error",
  "code": 400,
  "message": "Request body could not be parsed.",
  "errorCode": "PUBLIC_REQUEST_BODY_PARSE_FAILED",
  "hint": "The body is not valid JSON (or does not match its `Content-Type`).",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_REQUEST_BODY_PARSE_FAILED"
}