diff --git a/autogpt_platform/frontend/src/components/agent-import-form.tsx b/autogpt_platform/frontend/src/components/agent-import-form.tsx index 64ca5f8a31b5..f7fc72ba2a57 100644 --- a/autogpt_platform/frontend/src/components/agent-import-form.tsx +++ b/autogpt_platform/frontend/src/components/agent-import-form.tsx @@ -145,7 +145,7 @@ export const AgentImportForm: React.FC< ); if ( !["name", "description", "nodes", "links"].every( - (key) => !!obj[key], + (key) => key in obj && obj[key] != null, ) ) { throw new Error(