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

Component REST API
Title host_tag_group: Fix 500 status code when creating a host_tag_group with id already in use
Date Dec 14, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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

To the list of all Werks