Werk #19905: Fix crash on hosts with null values in meta_data
| Component | REST API | ||||
| Title | Fix crash on hosts with null values in meta_data | ||||
| Date | Jul 21, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
The REST API crashed when serializing the attributes of a host or folder whose meta_data attribute contained explicit null values for created_at, updated_at or created_by instead of omitting the keys entirely.
This also affected the Dynamic host configuration (DCD), which uses these endpoints and crashed when processing such hosts.
The REST API now treats null values in meta_data the same as missing keys and omits the corresponding fields from the response.