409 Conflict
That slug is taken
- Code
slug_taken- Status
409Conflict- Type
https://errors.clavian.io/slug-taken
What it means
Another organisation or venue already uses this slug, and a slug names one only.
What to do
Choose another slug and send the request again.
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/slug-taken",
"title": "That slug is taken",
"status": 409,
"code": "slug_taken",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/hq/organizationsCreate an organisation, and invite its ownerPOST /v1/organizations/{organizationId}/venuesCreate a venuePATCH /v1/organizations/{organizationId}/venues/{venueId}Edit a venue