Werk #16207: host_tag_group: Fix 500 status code when creating a host_tag_group with id already in use

Komponente REST API
Titel host_tag_group: Fix 500 status code when creating a host_tag_group with id already in use
Datum 14.12.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Before this Werk, when trying to create a host_tag_group using an id belonging to an aux_tag the endpoint returned a status 500 (Internal Server Error). This Werk fixes that behaviour and now returns a status 400, informing that the id is in use.

CMK-15167

Zur Liste aller Werks