E15001 — WhatsAppInvalidRecipient
The recipient is not one this operation accepts. A phone number uses the international format with a leading plus, for example +14155550100, and a business-scoped user ID looks like US.13491208655302741918. The message endpoints additionally accept a WhatsApp group ID, for example wag_01krdgeqcxet5s7t44vh8rt9mg, which no other operation takes.
- HTTP status:
422 - Type:
validation_error - Name:
WhatsAppInvalidRecipient
What to do
The request body parsed, but one or more values are invalid. The message says what is wrong, and param names the field when there is one. When the response has a details array, each entry names one failing field in param, as a dotted path like to[0].email or data.plan, with a short reason in message. Fix the named fields and retry.
Related
- E15xxx — WhatsApp sending & delivery: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on
typeandcode, validation details, andvendor_code
Related resources
Continue with the documentation, guides and examples for this topic.