409 Conflict
That phone number is already a lead
- Code
lead_phone_taken- Status
409Conflict- Type
https://errors.clavian.io/lead-phone-taken
What it means
Another lead already has this phone number. A number belongs to one lead.
What to do
Open the existing lead instead of making a second one.
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-phone-taken",
"title": "That phone number is already a lead",
"status": 409,
"code": "lead_phone_taken",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/hq/leadsAdd a leadPATCH /v1/hq/leads/{leadId}Edit a lead