recipient_not_allowed

You may not send this to this person now

403 · Retry: no. A channel rule, the person, or your own console setting blocks this send. Nothing was sent.

Reasons

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

details.reasonMeansChannelsFix
opted_outThe person opted outAllWait until they opt back in
outside_service_windowThe reply window has closed; details.serviceWindowExpiresAt says when it didWhatsAppSend an approved template
blockedYou blocked this person in the consoleAllUnblock them in the console
pausedYou paused this person in the consoleAllResume them in the console
recipient_must_write_firstNobody but your line has written in this conversation, so an app card cannot go in. Or, on a test line on a shared number, the person has not texted the line, is no longer connected, or has left 20 turns or 100 messages unanswered since they last textediMessageWait until someone writes
app_card_needs_imessageThe newest message in this conversation did not go by iMessage, or none has been seeniMessageWait until the person writes by iMessage
group_member_not_test_contactA group on a test line on a shared number takes only this project's connected Test contacts, and someone in it is not one. Where the refusal names an address, it is the first in sort order of those that stopped the groupiMessageConnect them as Test contacts, or leave them out of the group

With outside_service_window, details.remedy says what to do instead. details.reachability is what GET /v1/reachability returns for this person.

Example

403 Forbidden
{
  "error": {
    "code": "recipient_not_allowed",
    "message": "The person opted out, and every send to them is rejected until they opt back in.",
    "details": {
      "reason": "opted_out"
    },
    "requestId": "0192c4e1-…",
    "docUrl": "https://docs.mapier.ai/convo/api/errors#recipient_not_allowed.opted_out",
    "retryable": false
  }
}

Next