---
title: "Account ambiguous (account-ambiguous)"
description: "PubNio account-ambiguous problem, HTTP 422: A comment request names no accountId and more than one enabled account can comment for the target'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.

# Account ambiguous (account-ambiguous)

HTTP 422 Account ambiguous. A comment request names no `accountId` and more than one enabled account can comment for the target'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/account-ambiguous/",
  "status": 422,
  "title": "Account ambiguous",
  "code": "account_ambiguous",
  "provider": "instagram",
  "param": "accountId",
  "candidates": [
    {
      "accountId": "5f0c3a6e-2b1d-4c8e-9a7f-1e2d3c4b5a69",
      "name": "Acme Studio"
    },
    {
      "accountId": "9b4d2c1e-6f3a-4e5d-8c7b-2a1f0e9d8c76",
      "name": "Acme Support"
    }
  ],
  "nextAction": "Retry with accountId from candidates.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

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

## Recovery for agents

- Do what `nextAction` says.
- `param` is the field to change.
- Resend with one `accountId` from `candidates` instead of the ambiguous selector.

## 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/account-ambiguous/index.mdx
