← centrs docs

cdb/invalid-record

A device record failed validation before it was written: a blank target, or a field of the wrong type. Nothing was written.

Emitted by

devices add and set, the MCP centrs_devices tool, and library callers of the device mutation API (code). The CLI checks most of this earlier, so this code mostly reaches MCP and library callers.

Context

Typical triggers

Fix

Correct the field named in context.field; remediation says what it must be. causeData lists every issue, not only the first.