---
title: "Comment rejected (comment-rejected)"
description: "PubNio comment-rejected problem, HTTP 422: The provider rejected the comment write, or a replayed request's stored action failed."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Comment rejected (comment-rejected)

HTTP 422 Comment rejected. The provider rejected the comment write, or a replayed request's stored action failed.

## When it happens

One operation declares it: [`POST /api/v1/comments`](https://pubnio.com/api/v1/docs#tag/comments/POST/api/v1/comments).

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/comment-rejected/",
  "status": 422,
  "title": "Comment rejected",
  "code": "comment_rejected",
  "provider": "facebook",
  "targetKind": "post",
  "nextAction": "Confirm the account can comment on this target and that the target still exists, then retry with a new idempotency key only if the provider made no comment.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field        | Type                  | Always present |
| ------------ | --------------------- | -------------- |
| `provider`   | one of 21 strings     | Yes            |
| `targetKind` | `"post"`, `"comment"` | Yes            |
| `nextAction` | string                | Yes            |

## Recovery for agents

- Do what `nextAction` says.

## Retryable

No: the SDKs mark HTTP 422 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [Comments problems](https://pubnio.com/docs/problems/#comments)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/comment-rejected/index.mdx
