Werk #13931: wrong labels not raising errors in the REST API

Component Core & setup
Title wrong labels not raising errors in the REST API
Date May 2, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0b8 2.0.0p26 2.2.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously when trying to set an invalid "labels" value when creating or updating a host through the REST API, the error did not occur and a 200 OK response would be returned. The value would not be set though.

This werk fixes this problem.

To the list of all Werks