Skip to content

How can HTTP request nodes pass attachments to the knowledge base through API #20307

@tianshiqingge

Description

@tianshiqingge

Self Checks

  • 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 (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.4.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

In the workflow, I want to store the converted file of miners in the knowledge base through the "HTTP Request" node. When I use body json, the configuration is as follows: {"name": "ceshi. md",
"Text": "Analyze Content",
"indexing_technique": "economy",
"process_rule": {"mode": "automatic"}}
Error message: Failed to parse JSON: {"name": "text. md", "text": "

xtd>Cashier groupxtd>x/td>xtd>Annotation
Cashier groupSKTGROUP
Field Chinese nameField English nameField typeIs it a primary keyd>Non empty:/td>std>Default value
Paycounter group IDlD.
If I use the form-data in the body to pass in the parsed file, I don't know how to configure the parameters or how to implement my functionality

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

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