Skip to content

Data -> File Component Accepts .Docx and .XML File Types, But Throws error upon loading the file. #5784

@khenderson20

Description

@khenderson20

Bug Description

The file component (under the data category for components) should load Microsoft word files in the .docx format.

However, after trying multiple .docx files, we repeatedly get the following error:

Error Building Component File: Invalid name word/document.xml

Resolution

Converting the file to .pdf OR .xml file allows it to be ingested by the file component.

Reproduction

Steps to Reproduce Bug:

  1. Uploading a docx file regardless of the naming convention.

Expected behavior

Upload a file as: .docx

Who can help?

Backend:

@italojohnny

Operating System

Debian GNU/Linux 12 (bookworm)

Langflow Version

1.1.1

Python Version

3.11

Screenshot

Image

Flow File

Image

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