# kind_mismatch

> A line can only replace a line of the same kind.

**Kind mismatch** · HTTP 422

## What it means

A line can only replace a line of the same kind.

## What to do

Replace a line of the same kind.

## Example

```json
{
  "type": "https://api.bymundi.com/problems/kind_mismatch",
  "title": "Kind mismatch",
  "status": 422,
  "detail": "A line can only replace a line of the same kind.",
  "code": "kind_mismatch",
  "requestId": "req_…"
}
```

How to read any error: [Errors guide](https://api.bymundi.com/docs/guides/errors.md).
