PUBLIC_POST_COMMENT_PARENT_NOT_FOUNDParent comment does not exist.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 404Publiczne API
A new post comment was submitted with a `parentExternalId` that does not match any existing comment on the same post. The most common cause is that the parent comment was deleted between the time the reply UI was rendered and the time the user pressed submit.
Jak to rozwiązać
- 1
Refresh the comment thread and try replying again.
- 2
If the parent comment was intentionally removed, post the reply at the top level instead.
Przykładowa odpowiedź
API odpowiada statusem HTTP 404 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
application/json
{
"state": "error",
"code": 404,
"message": "Parent comment does not exist.",
"errorCode": "PUBLIC_POST_COMMENT_PARENT_NOT_FOUND",
"hint": "A new post comment was submitted with a `parentExternalId` that does not match any existing comment on the same post. The most common cause is that the parent comment was deleted between the time the reply UI was rendered and the time the user pressed submit.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_POST_COMMENT_PARENT_NOT_FOUND"
}