Errors
ticket_merged
The ticket was merged into another ticket.
| HTTP status | Type | Code |
|---|---|---|
| 409 | conflict_error | ticket_merged |
What it means
A merged ticket is read-only; its history continues on the ticket it was merged into. The message names that ticket; send the update there instead.
How to handle it
Fetch the resource again to see its current state, then decide whether to retry.
Example response
{
"detail": "The ticket was merged into another ticket.",
"error": {
"type": "conflict_error",
"code": "ticket_merged",
"message": "The ticket was merged into another ticket.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/ticket_merged",
"requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
}
}Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.
Returned by
POST /api/v1/tickets/{ticket_id}/activities— Add a note to a ticketPOST /api/v1/tickets/{ticket_id}/replies— Reply to the customerPATCH /api/v1/tickets/{ticket_id}— Update a ticket