Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #23097: REST API: crash on a rule value of unknown shape

Component REST API
Title REST API: crash on a rule value of unknown shape
Date Nov 12, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p22
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p43
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Creating or editing a rule via the REST API crashed with an internal server error and a crash report, for example KeyError: 'piggybacked_hostname_expressions', when the value_raw had a shape that the ruleset could not read. This happened for rulesets that convert older value formats, such as "Processing of piggybacked host data".

The REST API now rejects such a value with status 400 and names the part of the value it could not read.

To the list of all Werks