← all problem types

type_immutable

422 Unprocessable Content   This resource's type cannot be changed after creation.

When you get it

This resource's type cannot be changed after creation. It is always answered with HTTP 422 - one code means one status, so a client may key its handling on either.

Fields it carries

Inside each errors[] entry, beside pointer:

current
The value the resource holds today.
requested
The value the request asked for.

A field is omitted when the server genuinely does not know it - an absent member is never the same as an empty one.

How to fix it

The request was well-formed but a value is not acceptable. The fields above name the offending value and what would be accepted - fix the request and retry.

Shape

{
  "type":   "https://api2.host-tracker.com/problems/type-immutable",
  "title":  "This resource's type cannot be changed after creation.",
  "status": 422,
  "code":   "type_immutable",
  "errors": [
    { "current": …, "requested": … }
  ]
}