Skip to content

Fix: KB file has broken YAML front matter (bad indentation in title field) #1248

Description

@nwx-natew

Issue type (optional)

The site is not working as expected.

Issue

File: docs/kb/auditor/troubleshooting-and-errors/data-collection-errors/error-the-new-task-has-been-created-but-may-not-run-because-of-an-error-exception-from-hresult-0x800.md

Issue: The title field has nested double quotes that break YAML parsing, blocking npm run build and npm run start.

Error:
[cause] YAMLException: bad indentation of a mapping entry (18:17)
Offending line:

title: "Error: "The new task has been created but may not run because of an error:" Exception from HRESULT: 0x80070520.""

Suggested fix: Escape internal quotes, or wrap the outer value in single quotes since the string contains double quotes, e.g.:

title: 'Error: "The new task has been created but may not run because of an error:" Exception from HRESULT: 0x80070520.'

Reproduction steps (optional)

  1. Clone netwrix/docs and check out dev
  2. Run npm install
  3. Run npm run build (also reproduces with npm run start)
  4. Build fails during front matter parsing for the file listed above

Environment:

Solution (optional)

Workaround: change filename extension to .md.bak temporarily.

Browsers (optional)

Microsoft Edge

Operating system (optional)

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI:docsThis change or issue involves documentation.AI:siteThis change or issue involves the documentation site.auditorThis change or issue involves Auditor.bugThis change or issue involves a product bug.kbThis change or issue involves Knowledge Base articles.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions