Werk #15428: password: changing 500 error to 400 for invalid password identifier

Component REST API
Title password: changing 500 error to 400 for invalid password identifier
Date Mar 13, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Prior to this werk, the REST API raised a 500 error when the user attempted to create a password with an identifier containing ":" (colon). This werk modifies this so that the error is catched properly by the schema.

To the list of all Werks