mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
error on unstructured tool #884
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nicho2 on GitHub (Dec 19, 2025).
Self Checks
Dify version
1.11.1
Plugin version
0.0.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I have unstructured platform in self hosted container (v0.0.90).
i try to do a pipeline and extract text and image. but i have the error below (To test i use a pdf with text and image)
✔️ Error log
Node Error
unstructured logs;
@dosubot[bot] commented on GitHub (Dec 19, 2025):
The error is caused when the plugin tries to decode an image from the partition response, but the expected
image_base64field is missing or malformed. This usually happens if the partition API doesn't return image data in the expected format, often because theextract_image_block_typesparameter is set tonullinstead of["Image"]—which means no images are extracted and the field is absent, triggering the decoding error in the plugin code (source).To fix this, set
extract_image_block_typesto["Image"]in your pipeline configuration so the partition API includes base64-encoded image data for each image element. Also, replace the deprecatedpdf_infer_table_structureparameter withskip_infer_table_typesto avoid warnings and potential compatibility issues (source).If you still see the error, check the partition API response directly to confirm whether image elements have a valid
image_base64field. If not, try a minimal test PDF with both text and images and explicit image extraction settings to isolate the issue. Compatibility between Dify, the plugin, and the unstructured platform may also affect the response structure.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@davidkhala commented on GitHub (Jan 19, 2026):
+1 for seeing the same error when using cloud endpoint.
https://platform.unstructuredapp.io/api/v1
My workaround is to set Chunking Strategy to
basic