conflict

The request clashes with an earlier one, or with the current state

409 · Retry: only idempotency_key_in_flight and card_update_in_flight. Read details.reason: it says whether to wait, resend under a new key, or change the request.

Reasons

This table lists every reason, the channels it applies to, and the fix.

details.reasonMeansChannelsFix
idempotency_key_in_flightThe first attempt with this key is still runningAllWait, then send again with the same key
idempotency_key_failedNothing was sent for this key's message.sendAllSend again under a new key
idempotency_key_unresolvedThe key named a message.send whose result is unknownAllCheck the conversation before any resend
idempotency_key_reusedThe key already named a different commandAllSend the original body, or use a new key
no_commandNo command was ever accepted under this idAllThere is no result to read
card_update_in_flightThe app card's first send or latest update has not finished yetiMessageWait for its command event, then send the update again
details.reasonMeansChannelsFix
number_on_mapier_lineThe number is, or was, a Mapier iMessage lineWhatsAppConnect a different number

Example

409 Conflict
{
  "error": {
    "code": "conflict",
    "message": "The first attempt with this key is still running.",
    "details": {
      "reason": "idempotency_key_in_flight"
    },
    "requestId": "0192c4e1-…",
    "docUrl": "https://docs.mapier.ai/convo/api/errors#conflict.idempotency_key_in_flight",
    "retryable": true
  }
}

Next