PUBLIC_POST_COMMENT_PARENT_NOT_FOUNDParent comment does not exist.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 404Verejné 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.
Ako to vyriešiť
- 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ážka odpovede
API odpovie statusom HTTP 404 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.
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"
}