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.reason | Means | Channels | Fix |
|---|---|---|---|
opted_out | The person opted out | All | Wait until they opt back in |
outside_service_window | The reply window has closed; details.serviceWindowExpiresAt says when it did | Send an approved template | |
blocked | You blocked this person in the console | All | Unblock them in the console |
paused | You paused this person in the console | All | Resume them in the console |
recipient_must_write_first | Nobody 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 texted | iMessage | Wait until someone writes |
app_card_needs_imessage | The newest message in this conversation did not go by iMessage, or none has been seen | iMessage | Wait until the person writes by iMessage |
group_member_not_test_contact | A 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 group | iMessage | Connect 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
{
"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
}
}