Skip to content

Workflow Human Input human_input_required event returns empty data in Open API streaming call #35504

@ljs20182018

Description

@ljs20182018

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.14.0-rc1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create a new Workflow application on Dify console.
  2. Add a Human Input node into workflow canvas, configure custom form content, approve/reject action buttons, set delivery method to Web App.
  3. Complete workflow configuration and publish the application.
  4. Test in Dify web frontend preview chat page: the human_input_required event returns complete data payload, including form_content, form_token, actions and all form metadata.
  5. Call official Open API endpoint /v1/chat-messages with parameter response_mode=streaming.
  6. Check the returned SSE streaming response: the human_input_required event only contains event name, with completely empty data body.

✔️ Expected Behavior

When calling via Open API streaming mode, the returned human_input_required event should be completely consistent with the web frontend preview result.
It should return full payload data, including form_content, form_token, action button configurations and all original form information, so that external systems can obtain approval information and resume the suspended workflow.

❌ Actual Behavior

When calling Dify Workflow via official Open API streaming interface /v1/chat-messages, the triggered human_input_required event has empty data field.
All metadata of Human Input node is missing, including form content, form token, button options. There is no valid information for external approval integration and workflow recovery.

API returned raw data:

{"event":"human_input_required"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions