Skip to Content
CallMitraDocs
Errors

whatsapp_client_message_id_reused

This message id was already used for a different conversation.

HTTP statusTypeCode
409conflict_errorwhatsapp_client_message_id_reused

What it means

The Idempotency-Key (or the message id of a retried send) already belongs to a message sent to another customer or from another number, so nothing was sent. Use a new key for each new message.

How to handle it

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

Example response

{
  "detail": "This message id was already used for a different conversation.",
  "error": {
    "type": "conflict_error",
    "code": "whatsapp_client_message_id_reused",
    "message": "This message id was already used for a different conversation.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/whatsapp_client_message_id_reused",
    "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/whatsapp/messages — Send a WhatsApp message

On this page