409 Conflict
Invitations by phone are turned off
- Code
phone_invitations_off- Status
409Conflict- Type
https://errors.clavian.io/phone-invitations-off
What it means
Phone sign-in is turned off on the Platform, so an invitation can be sent only to an email address. Nothing was sent and no invitation was made.
What to do
Ask for the person’s email address and invite them by email.
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/phone-invitations-off",
"title": "Invitations by phone are turned off",
"status": 409,
"code": "phone_invitations_off",
"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 organisationPOST /v1/hq/organizationsInvite a café: create its organisation, and invite its ownerPOST /v1/hq/organizations/{organizationId}/owner-invitationsInvite an owner to an organisation that has nonePOST /v1/hq/organizations/{organizationId}/owner-invitations/{invitationId}/resendSend a fresh owner invitation to the same email or phonePOST /v1/organizations/{organizationId}/invitationsInvite someone to the staff, by phone or by email