Werk #13932: non JSON 500 page in REST API

Component REST API
Title non JSON 500 page in REST API
Date Jun 21, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p4 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In some error cases, a non-JSON result page was returned by the REST API. This led to problems with script execution as the page was not valid JSON and thus the parsers threw errors.

The errors which led to the non-JSON result will now be returned as a JSON result and a log entry will be made.

To the list of all Werks