Sanity Library Reference Docs
    Preparing search index...

    Thrown when a workflow is started (or a child spawned) without a value for a field entry marked required. Mirrors ActionParamsInvalidError: the engine has NOT created the instance — a missing load-bearing field (e.g. the subject of a review) screams here rather than silently defaulting to null/[] and birthing a half-formed instance mid-process.

    Hierarchy (View Summary)

    • WorkflowError<"required-field-not-provided">
      • RequiredFieldNotProvidedError
    Index

    Constructors

    Properties

    cause?: unknown
    definition?: string
    kind: "required-field-not-provided"
    message: string
    missing: { name: string; type: string }[]
    name: string
    stack?: string