HTTP 422 Capability unsupported. The account’s inbox channel lacks the operation (sending messages or managing comments), or a comment targets a provider PubNio cannot comment on.
When it happens
Every API operation except POST /api/v1/posts/validate and GET /api/v1/billing/plans declares it.
Response body
{
"type": "https://pubnio.com/docs/problems/capability-unsupported/",
"status": 422,
"title": "Capability unsupported",
"code": "capability_unsupported",
"capability": "send_messages",
"provider": "linkedin",
"accountKind": "social_page",
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
capability |
one of 7 strings | Yes |
provider |
one of 21 strings | Yes |
accountKind |
"social_page", "social_account", "social_board", "social_channel", "ad_account" |
Yes |
Recovery for agents
- Read the account’s capabilities and choose an account or action that supports it.
Retryable
No: the SDKs mark HTTP 422 not retryable.
Limits
- Match on
typeorcode, not ondetail.