diff --git a/autogpt_platform/frontend/src/lib/autogpt-server-api/baseClient.ts b/autogpt_platform/frontend/src/lib/autogpt-server-api/baseClient.ts index f1293ed109..ae83c97450 100644 --- a/autogpt_platform/frontend/src/lib/autogpt-server-api/baseClient.ts +++ b/autogpt_platform/frontend/src/lib/autogpt-server-api/baseClient.ts @@ -339,7 +339,9 @@ function parseNodeExecutionResultTimestamps(result: any): NodeExecutionResult { function parseGraphMetaWithRuns(result: any): GraphMetaWithRuns { return { ...result, - executions: result.executions.map(parseExecutionMetaTimestamps), + executions: result.executions + ? result.executions.map(parseExecutionMetaTimestamps) + : [], }; }