diff --git a/bundles/org.openhab.io.openhabcloud/src/main/java/org/openhab/io/openhabcloud/internal/CloudClient.java b/bundles/org.openhab.io.openhabcloud/src/main/java/org/openhab/io/openhabcloud/internal/CloudClient.java index 5ddef54660b85..e5f53bb659915 100644 --- a/bundles/org.openhab.io.openhabcloud/src/main/java/org/openhab/io/openhabcloud/internal/CloudClient.java +++ b/bundles/org.openhab.io.openhabcloud/src/main/java/org/openhab/io/openhabcloud/internal/CloudClient.java @@ -468,7 +468,7 @@ private void handleRequestEvent(JSONObject data) { responseJson.put("id", requestId); responseJson.put("headers", getJSONHeaders(response.getHeaders())); responseJson.put("responseStatusCode", response.getStatus()); - responseJson.put("responseStatusText", "OK"); + responseJson.put("responseStatusText", response.getReason()); socket.emit("responseHeader", responseJson); logger.trace("Sent headers to request {}", requestId); logger.trace("{}", responseJson.toString());