# ticket_attachment_unavailable (/errors/ticket_attachment_unavailable)

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

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

One of the `attachmentIds` was attached to another note or reply, or removed, while this request ran (for example a double submit). Nothing was saved. Fetch the ticket again and resend without that attachment.

## 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": "An attachment was already sent or removed.",
  "error": {
    "type": "conflict_error",
    "code": "ticket_attachment_unavailable",
    "message": "An attachment was already sent or removed.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/ticket_attachment_unavailable",
    "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