Skip to content
For AI agents: a documentation index is available at /llms.txt. Every docs page is also available as markdown: add .md to its URL. To connect, read /agents.md.

Errors

comment_not_found

We do not hold that comment as a top-level comment of that video, so its replies cannot be read.

Status

HTTP 404, title Comment not found. One of the the request itself errors. Branch on code, never on the status or the prose.

Retryable: no. Every body carries this as retryable: false, beside action and remedy: the same request will fail again until the request changes or a person acts.

Common causes

  • The comments page for the video was never read, so neither the video nor the comment is held.
  • The comment_id is not an id the comments page returned, or is itself a reply.
  • The comment was held over 90 days ago and has been purged.

What to do

Action: Read the video's comments page first and pass one of its item ids as comment_id.

Read GET /v1/videos/{platform}/{id}/comments first and pass one of its items' id as comment_id. Nothing was charged.

Example

The body arrives as application/problem+json, with retryable and the remedy above. Most responses add detail about the occurrence, and some add fields of their own.

{
  "type": "https://www.shortsintel.com/docs/reference/errors/comment_not_found",
  "title": "Comment not found",
  "status": 404,
  "code": "comment_not_found",
  "retryable": false,
  "action": "Read the video's comments page first and pass one of its item ids as `comment_id`.",
  "remedy": "Read `GET /v1/videos/{platform}/{id}/comments` first and pass one of its items' `id` as `comment_id`. Nothing was charged."
}