PUBLIC_POST_COMMENT_PARENT_NOT_FOUNDParent comment does not exist.
Z BizKitHub Docs, reference chybových kódů API
Názvy a popisy kódů udržujeme v angličtině.
HTTP 404Veřejné 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 vyřešit
- 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.
Ukázka odpovědi
API odpoví statusem HTTP 404 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.
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"
}