PUBLIC_REQUEST_BODY_PARSE_FAILEDRequest body could not be parsed.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 400Publiczne API
The body is not valid JSON (or does not match its `Content-Type`).
Jak to rozwiązać
- 1
Check that the body is valid JSON and `Content-Type` is `application/json`.
Przykładowa odpowiedź
API odpowiada statusem HTTP 400 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
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"
}