I wanted to get some data from my API. The problem is, if something was not found in Devices, it gives me back anyway data. But if it doesn\'t find for example a device, it