Skip to content

Execute flow doesn't work when there's no override config set #5177

@Stono

Description

@Stono

Describe the bug

With the worlds most simply execute agent flow, you will get an error:

"Error: predictionsServices.buildChatflow - Cannot create property 'startState' on string ''"

This is because the overrideConfig, when not on the agent flow, is being sent as an empty string:

    url: 'http://localhost:3000/api/v1/prediction/36afac37-0c6c-4b79-9465-06657a3c8db7',
    data: '{"question":"test","chatId":"9f9534df-08f3-467f-ba6f-f9a319ab3303","overrideConfig":""}',

To Reproduce

Image

Expected behavior

It to work :D

Screenshots

No response

Flow

No response

Use Method

None

Flowise Version

No response

Operating System

None

Browser

None

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