Werk #13932: non JSON 500 page in REST API

Komponente REST API
Titel non JSON 500 page in REST API
Datum 21.06.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p4 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks