Error code
Invalid slug
The slug is not in the form it takes: an entry's is lowercase letters, digits, and hyphens; a type's or trait's is camelCase starting with a letter, such as `blogPost`.
- Code
INVALID_SLUG- Management API
- 400
What to do
Choose a slug of that form.
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": "INVALID_SLUG",
"type": "https://coho-cms.com/errors/invalid-slug",
"title": "Invalid slug",
"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.