diff --git a/nvflare/lighter/provision.py b/nvflare/lighter/provision.py index 138a82282a..967877ccb5 100644 --- a/nvflare/lighter/provision.py +++ b/nvflare/lighter/provision.py @@ -133,6 +133,10 @@ def prepare_project(project_dict, add_user_file_path=None, add_client_file_path= if api_version not in [3]: raise ValueError(f"API version expected 3 but found {api_version}") project_name = project_dict.get("name") + if len(project_name) > 63: + print(f"Project name {project_name} is longer than 63. Will truncate it to {project_name[:63]}.") + project_name = project_name[:63] + project_dict["name"] = project_name project_description = project_dict.get("description", "") participants = list() for p in project_dict.get("participants"):