Error code

A type's slug cannot change

A content type's slug is how its entries, generated code, and queries refer to it, so it never changes.

Ø100 · 20 teethfree one way, locked the otherABC
Fig. 03 Ratchet and pawlThe wheel turns freely one way, and the pawl stops it turning back.
Code
TYPE_SLUG_FIXED
Management API
400

What to do

Change the type's display name instead, or create a new type and move the entries.

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": "TYPE_SLUG_FIXED",
  "type": "https://coho-cms.com/errors/type-slug-fixed",
  "title": "A type's slug cannot change",
  "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.