From b4ebc955368408e9faec0ec43a66984bf6eb2e07 Mon Sep 17 00:00:00 2001 From: Jay Smith Date: Wed, 29 Jul 2026 08:42:39 -0500 Subject: [PATCH] fix: pass identifier to CreateProject to fix validation error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CreateProject.identifier is a required field in the SDK model, but was not passed at initialization — causing a Pydantic ValidationError on every project create attempt. Pass it at construction time with a fallback to the first 3 chars of the project name when no identifier is given. --- src/planecli/commands/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/planecli/commands/projects.py b/src/planecli/commands/projects.py index e0fddda..027770a 100644 --- a/src/planecli/commands/projects.py +++ b/src/planecli/commands/projects.py @@ -157,7 +157,7 @@ async def create( client = get_client() workspace = get_workspace() - create_data = CreateProject(name=name) + create_data = CreateProject(name=name, identifier=(identifier or name[:3].upper())) if identifier: create_data.identifier = identifier.upper() if description: