Werk #12337: REST API: acknowledgement - not found on update is a 400

Component REST API
Title REST API: acknowledgement - not found on update is a 400
Date Mar 9, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When acknowledging a non existing service, a HTTP 404 was about to be triggered, but was not defined for this endpoint. This could lead to an HTTP 500 (Internal Server Error). This has now been fixed to correctly return a HTTP 400 (Bad Request) error, which is defined for this endpoint, brining it in line with the documentation.

To the list of all Werks