409 Conflict
The lead has no phone number
- Code
lead_no_phone- Status
409Conflict- Type
https://errors.clavian.io/lead-no-phone
What it means
A WhatsApp message needs a phone number and this lead has none.
What to do
Add a phone number to the lead, or use another channel.
Example
The API answers with status 409 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/lead-no-phone",
"title": "The lead has no phone number",
"status": 409,
"code": "lead_no_phone",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/hq/leads/{leadId}/outreachRecord a message and get the link to send it from