Skip to content

MUI X: The Tree View component requires all items to have a unique id property. #5248

@itwseood

Description

@itwseood

Describe the bug

I am using Agentflow v2, with a LLM planner, Iteration module for spawning Sub Agents, and finally router with option to loop back to the first LLM module. When I run it on some iterations both interfaces in Executions and inside the Flow become white, and the following error pops up in the browser console:

MUI X: The Tree View component requires all items to have a unique id property.
Alternatively, you can use the getItemId prop to specify a custom id for each item.
Two items were provided with the same id in the items prop: "iterationAgentflow_0_23"

To Reproduce

  1. Run a flow;
  2. When the flow is marked as completed in Executions - open the flow;
  3. The page is blank, and there is an error message in the browser console:

MUI X: The Tree View component requires all items to have a unique id property.
Alternatively, you can use the getItemId prop to specify a custom id for each item.
Two items were provided with the same id in the items prop: "iterationAgentflow_0_23"

Note, this error appears in different iterations, not _0_23 precisely and not in every test.
It appears to be a Race Condition.

Expected behavior

To show all the steps properly.

Screenshots

The Flow Diagram:
Image

The Error message:
Image

Flow

I can provide on demand, but would like to avoid it publicly.

Use Method

Docker

Flowise Version

3.0.7

Operating System

macOS

Browser

Chrome

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions