409 Conflict
Lead already converted
- Code
lead_converted- Status
409Conflict- Type
https://errors.clavian.io/lead-converted
What it means
The lead already has an organisation, so it cannot be converted a second time.
What to do
Open the lead’s organisation instead.
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-converted",
"title": "Lead already converted",
"status": 409,
"code": "lead_converted",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/hq/leads/{leadId}/convertConvert a lead into an organisation