MinerU plugin encountered an error in the chatflowRun failed: Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"JSONDecodeError","message":"Expecting value: line 1 column 1 (char 0)"} #326

Closed
opened 2026-02-16 10:19:00 -05:00 by yindo · 1 comment
Owner

Originally created by @xzl7504479 on GitHub (May 29, 2025).

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 Dify issues & Dify Official Plugins, 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.1

Plugin version

0.0.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

1.bulilt up a chatflow.
Version:dify 1.4.1 MinerU 0.02

Image
2.preview the chatflow and upload a pdf flie

Image

3.when the progress run into Mineru plugin,the error happen

Image

✔️ Error log

Image
error info
Run failed: Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"JSONDecodeError","message":"Expecting value: line 1 column 1 (char 0)"}

input info

{
"file": {
"dify_model_identity": "dify__file",
"id": null,
"tenant_id": "13872c29-0c7b-403e-ab75-5931224e401d",
"type": "document",
"transfer_method": "local_file",
"remote_url": "http://api:5001/files/22d73abd-25fc-41ee-a990-2d8457d6a253/file-preview?timestamp=1748575149&nonce=c0cb3eb5dd6b27a800077a02f10ceef1&sign=kPusechVp2vF97QI_WqvUpN69gabJSsM7LAnQmnobyQ=",
"related_id": "22d73abd-25fc-41ee-a990-2d8457d6a253",
"filename": "Citeline RD25 Whitepaper-CN.pdf",
"extension": ".pdf",
"mime_type": "application/pdf",
"size": 16653172,
"url": "http://api:5001/files/22d73abd-25fc-41ee-a990-2d8457d6a253/file-preview?timestamp=1748575323&nonce=91e25d950a75212f02805ea4be6ab7e0&sign=v9uR-nfhRYSoHnEM3dZ2knqWeT_uAVX231KzdaCmb9I="
}
}

Originally created by @xzl7504479 on GitHub (May 29, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.4.1 ### Plugin version 0.0.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1.bulilt up a chatflow. Version:dify 1.4.1 MinerU 0.02 ![Image](https://github.com/user-attachments/assets/04f4fc04-7065-4e3a-9e4c-91a757dbf392) 2.preview the chatflow and upload a pdf flie ![Image](https://github.com/user-attachments/assets/1c408fef-f19d-4df8-aacf-a51051a403a4) 3.when the progress run into Mineru plugin,the error happen ![Image](https://github.com/user-attachments/assets/5f249257-90e5-4b12-a3a1-9edcb2b2cab6) ### ✔️ Error log ![Image](https://github.com/user-attachments/assets/3efd92e5-4fdf-4c19-87a9-02c29610ed43) error info Run failed: Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"JSONDecodeError","message":"Expecting value: line 1 column 1 (char 0)"} input info { "file": { "dify_model_identity": "__dify__file__", "id": null, "tenant_id": "13872c29-0c7b-403e-ab75-5931224e401d", "type": "document", "transfer_method": "local_file", "remote_url": "http://api:5001/files/22d73abd-25fc-41ee-a990-2d8457d6a253/file-preview?timestamp=1748575149&nonce=c0cb3eb5dd6b27a800077a02f10ceef1&sign=kPusechVp2vF97QI_WqvUpN69gabJSsM7LAnQmnobyQ=", "related_id": "22d73abd-25fc-41ee-a990-2d8457d6a253", "filename": "Citeline RD25 Whitepaper-CN.pdf", "extension": ".pdf", "mime_type": "application/pdf", "size": 16653172, "url": "http://api:5001/files/22d73abd-25fc-41ee-a990-2d8457d6a253/file-preview?timestamp=1748575323&nonce=91e25d950a75212f02805ea4be6ab7e0&sign=v9uR-nfhRYSoHnEM3dZ2knqWeT_uAVX231KzdaCmb9I=" } }
yindo added the bug label 2026-02-16 10:19:00 -05:00
yindo closed this issue 2026-02-16 10:19:00 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 17, 2025):

Hi, @xzl7504479. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a JSONDecodeError in the MinerU plugin (v0.0.2) on Dify v1.4.1 when running a chatflow that uploads a PDF.
  • The error "Expecting value: line 1 column 1 (char 0)" indicates a failure to parse a JSON response.
  • This occurs in a self-hosted Docker environment and blocks the chatflow from completing.
  • No additional comments or updates have been provided since the initial report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 17, 2025): Hi, @xzl7504479. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a JSONDecodeError in the MinerU plugin (v0.0.2) on Dify v1.4.1 when running a chatflow that uploads a PDF. - The error "Expecting value: line 1 column 1 (char 0)" indicates a failure to parse a JSON response. - This occurs in a self-hosted Docker environment and blocks the chatflow from completing. - No additional comments or updates have been provided since the initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#326