What happened?
After requesting an edit to add a timeout, the AI showed the generated changes in chat (but not applied to editor) and then returned an error:
Error processing request: Invalid `tx.flow.findUnique()` invocation in /usr/src/dist/services/pipedream-element/text-2-workflow/workflow-data-processor.service.js:27:36 24 * @returns Workflow object formatted for AI consumption 25 */ 26 async buildExistingWorkflow(flowId, tx) { → 27 const flow = await tx.flow.findUnique( Error occurred during query execution: ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: “25P02”, message: “current transaction is aborted, commands ignored until end of transaction block”, severity: “ERROR”, detail: None, column: None, hint: None }), transient: false })
Steps to reproduce:
1. Open an existing workflow created via Chat-to-Build.
2. In chat, request an edit to add a timeout (e.g., approval timeout).
3. Observe the workflow update fails and returns the Postgres transaction aborted error.
What did you expect?
The edit should be applied successfully, or the system should recover cleanly without DB transaction errors.
Using Brave Browser V1.183.120, on macOS Tahoe 26.2