Sanity Library Reference Docs
    Preparing search index...

    A persisted engine-owned document failed its shape parse — the stored field tree does not match what this engine's data model declares for the doc type. Distinct from ModelVersionAheadError (a declared, governed fence: upgrade the engine); this is UNGOVERNED corruption — a document no conforming engine wrote — and the read fails hard instead of letting the malformed value corrupt behavior downstream. The issues name every offending field path.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cause?: unknown
    documentId: string
    documentType: string
    issues: ValidationIssue[]
    kind: "persisted-doc-shape"
    message: string
    name: string
    stack?: string