Werk #13646: Fix host API calls in case a previous discovery failed

Component REST API
Title Fix host API calls in case a previous discovery failed
Date Apr 13, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p27 2.1.0b6
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

REST API calls returning host data structures could fail in case a bulk discovery failed for one of the handled hosts before. The API calls failed with a HTTP 500 error and a message like "Server was about to send an invalid response: inventory_failed - Unknown field"

To the list of all Werks