# conflict (/errors/conflict)

| HTTP status | Type | Code |
| --- | --- | --- |
| 409 | `conflict_error` | `conflict` |

## What it means [#what-it-means]

Another change already happened (for example a duplicate or a state that no longer allows this action). Fetch the resource again and retry if it still makes sense.

## How to handle it [#how-to-handle-it]

Fetch the resource again to see its current state, then decide whether to retry.

## Example response [#example-response]

```json
{
  "detail": "The request conflicts with the current state of the resource.",
  "error": {
    "type": "conflict_error",
    "code": "conflict",
    "message": "The request conflicts with the current state of the resource.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/conflict",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}
```

Branch on `error.code`; it never changes once published. The `message` text can change. See [Errors](/errors) for the envelope.

## Returned by [#returned-by]

Any endpoint can return this code.