---
title: "Provider mismatch (provider-mismatch)"
description: "PubNio provider-mismatch problem, HTTP 422: A comment request's provider, or the provider its target resolves to, differs from the selected account's provider."
---

> 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.

# Provider mismatch (provider-mismatch)

HTTP 422 Provider mismatch. A comment request's `provider`, or the provider its target resolves to, differs from the selected account's provider.

## 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/provider-mismatch/",
  "status": 422,
  "title": "Provider mismatch",
  "code": "provider_mismatch",
  "provider": "facebook",
  "expectedProvider": "instagram",
  "param": "provider",
  "nextAction": "Send the provider that owns the selected account or omit provider.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field              | Type              | Always present |
| ------------------ | ----------------- | -------------- |
| `provider`         | one of 21 strings | Yes            |
| `expectedProvider` | one of 21 strings | Yes            |
| `param`            | string            | Yes            |
| `nextAction`       | string            | Yes            |

## Recovery for agents

- Do what `nextAction` says.
- `param` is the field to change.

## Retryable

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

## Limits

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

## Related

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

Source: https://pubnio.com/docs/problems/provider-mismatch/index.mdx
