Werk #13932: non JSON 500 page in REST API
|Title||non JSON 500 page in REST API|
|Date||Jun 21, 2022|
|Checkmk Editon||Checkmk Raw (CRE)|
|Checkmk Version||2.2.0i1 2.1.0p4|
|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.