BizKitHub
PUBLIC_POST_COMMENT_PARENT_NOT_FOUND

Parent comment does not exist.

HTTP 404Public 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.

How to resolve

  1. 1

    Refresh the comment thread and try replying again.

  2. 2

    If the parent comment was intentionally removed, post the reply at the top level instead.

Example response

The API answers with HTTP 404 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.

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"
}