# ticket_version_conflict (/errors/ticket_version_conflict)

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

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

You sent `version`, and someone else updated the ticket after that version. Fetch the ticket again with `GET /tickets/{ticket_id}`, re-apply your change and send the new `version`. Leave `version` out to skip this check.

## 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 ticket was changed since you read it.",
  "error": {
    "type": "conflict_error",
    "code": "ticket_version_conflict",
    "message": "The ticket was changed since you read it.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/ticket_version_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]

- `POST /api/v1/tickets/{ticket_id}/activities` — Add a note to a ticket
- `POST /api/v1/tickets/{ticket_id}/replies` — Reply to the customer
- `PATCH /api/v1/tickets/{ticket_id}` — Update a ticket