Skip to content

"React error #31 when rendering workflow/node output objects ({text, type})” #2725

@mahekt118

Description

@mahekt118

While using SimStudio, the UI crashes with Minified React error #31 when rendering workflow or node outputs.
This happens when a node (especially LLM or tool-based nodes) returns a structured object (for example, an object with keys like { text, type }). The UI appears to try rendering this object directly in JSX instead of rendering a string value (such as output.text) or iterating over the content.
As a result, after the workflow state is received (via Socket.IO), the UI throws the error:
“Objects are not valid as a React child (found: object with keys {text, type})”
This seems to be a UI rendering issue rather than a workflow execution problem. Handling structured outputs safely (e.g., extracting text or mapping arrays) would prevent the crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions