Skip to Content
CallMitraDocs
Errors

ticket_reopen_forbidden

Only a manager can reopen a closed ticket.

HTTP statusTypeCode
403permission_errorticket_reopen_forbidden

What it means

Moving a closed ticket back to an open status needs a manager. Use a key created by a manager, or create a new ticket for the new request.

How to handle it

The key or user is valid but not allowed to do this. Check the key’s access level and resources (read-only keys can only send GET), or ask a workspace manager.

Example response

{
  "detail": "Only a manager can reopen a closed ticket.",
  "error": {
    "type": "permission_error",
    "code": "ticket_reopen_forbidden",
    "message": "Only a manager can reopen a closed ticket.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/ticket_reopen_forbidden",
    "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 ticket
  • PATCH /api/v1/tickets/{ticket_id} — Update a ticket

On this page