diff --git a/nvflare/fuel/hci/client/cli.py b/nvflare/fuel/hci/client/cli.py index 2b4ea430efe..507b49d2d84 100644 --- a/nvflare/fuel/hci/client/cli.py +++ b/nvflare/fuel/hci/client/cli.py @@ -444,7 +444,9 @@ def print_resp(self, resp: dict): if "data" in resp: for item in resp["data"]: - item_type = item["type"] + if not isinstance(item, dict): + continue + item_type = item.get("type") if item_type == "string": self.write_string(item["data"]) elif item_type == "table":