Error code
Id already taken
The id you chose already names a type, trait, or asset, or an entry of another type on this branch. Two requests creating the same thing at once can also meet it.
- Code
ID_TAKEN- Management API
- 400
What to do
Leave the id out so Coho chooses one, or choose another. After a race, send the request again.
The response
Every refusal is an application/problem+json document. Its detail says what went wrong in that request; its type is this page.
{
"code": "ID_TAKEN",
"type": "https://coho-cms.com/errors/id-taken",
"title": "Id already taken",
"status": 400,
"detail": "What went wrong in this request, in a sentence.",
"instance": "/v1/projects/…"
}
Every code
The error codes, in a table with a filter.