Closed yang605222 closed 5 months ago
The error "The uploaded CSV file not match the struct" indicates that the structure of the CSV file uploaded after using WPS to save and upload does not match the expected structure defined by the application. To resolve this, ensure your CSV file adheres to the expected structure based on the document form type you're working with:
Make sure to download and use the correct template provided by the application for your document form type. This template is dynamically generated to match the structure required for either QA or Text forms and is based on the user's language setting.
Avoid common mistakes such as leaving the file empty, mismatching the structure with the selected document form, leaving any rows empty, missing values in required fields, exceeding the maximum length for any value, and not including at least one row of data in the file.
By following these guidelines and using the provided template, you should be able to upload your CSV file successfully to the application.
To continue the conversation, mention @dosu.
Self Checks
Dify version
0.10.3
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
在构建workflow后使用run batch功能,对下载的template添加数据后,再使用WPS保存上传,点击EXECUTE执行后报错:The uploaded CSV file not match the struct
✔️ Expected Behavior
期望上传经过WPS保存的csv文件可以顺利执行构建的agent
❌ Actual Behavior
报错:The uploaded CSV file not match the struct