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.
Response body
{
"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
nextActionsays.
Retryable
No: the SDKs mark HTTP 422 not retryable.
Limits
- Match on
typeorcode, not ondetail.