Skip to content

Expected field was not a string

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/field-not-a-string/v1 HTTP status: 422 Exit code: 2 Emitted by: mif-frontmatter (FrontmatterError::FieldNotAString)

field '{field}' is not a string

A field this crate requires to be a string (typically id in md_to_jsonld, or @id in jsonld_to_md) held a non-string YAML/JSON value instead (e.g. a number).

MaybeIncorrect — correct the offending field’s type in the document.