REVIEW_INVALIDThe review could not be accepted.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 400Ogólne
The rating must be 1 to 5, the author name is required and the text must be at most 1000 characters without spam (links, repeated characters).
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": "The review could not be accepted.",
"errorCode": "REVIEW_INVALID",
"hint": "The rating must be 1 to 5, the author name is required and the text must be at most 1000 characters without spam (links, repeated characters).",
"documentationUrl": "https://docs.bizkithub.com/errors/REVIEW_INVALID"
}