diff --git a/cognite/client/data_classes/functions.py b/cognite/client/data_classes/functions.py index f8af1e47b0..b534a13e89 100644 --- a/cognite/client/data_classes/functions.py +++ b/cognite/client/data_classes/functions.py @@ -373,7 +373,7 @@ def __init__(self, timestamp: int, message: str): def _load(cls, response: Dict[str, Any]) -> FunctionCallLogEntry: return cls( timestamp=response["timestamp"], - message=response["message"], + message=response.get("message", ""), )