---
title: "Bugfix: Refuse a mapping file without its root key"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793222328@main"
source: "Changelog/1.0.0/Bugfix-1793222328-RefuseAMappingFileWithoutItsRootKey.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Refuse a mapping file without its root key {#bugfix-1793222328}

## Description {#description}

A YAML mapping file of the Horilla import whose top-level key was missing or misspelled, for example
`apprenticeship-settings.yaml` without `companies:`, was read as empty. The stage imported nothing and said
nothing.

`companies.yaml`, `roles.yaml`, `leave-types.yaml`, `apprenticeship-settings.yaml` and
`school-calendars.yaml` with content but without their key now stop the import with `mappingRootKeyMissing`,
naming the file and the expected key. An empty file and a missing file behave as before.

## Impact {#impact}

A mapping file that used to be ignored silently now fails the import. Fix the key named in the message.
