You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] CSV columns not recognized in Recipes, same dataset works fine as JSON (Unsloth Studio) #4470
4. Description
I took the first 1000 rows of the unsloth/OpenMathReasoning-mini dataset and saved it in two formats: .csv and .json. I then built a Recipe that:
Connects a provider and API key
Selects a model
Summarizes one of the input columns
Translates inputs into a target language
Saves the result with 3 new added columns
When loading the JSON file, the Recipe runs successfully.
When loading the CSV file with the exact same content, all column references become invalid and the Recipe cannot be run at all.
5. Error Messages INVALID_REFERENCE · column think_summary: The prompt template for 'think_summary' references a column that does not exist: 'think'. INVALID_REFERENCE · column problem_tr: The prompt template for 'problem_tr' references a column that does not exist: 'problem'. INVALID_REFERENCE · column output_tr: The prompt template for 'output_tr' references a column that does not exist: 'justAnswer'. INVALID_COLUMN · column Unnamed: 0: Drop columns processor is configured to drop column 'Unnamed: 0', but the column is not defined. 🛑 Your configuration contains validation errors. Please address the indicated issues and try again.
Attached: Both the .csv and .json datasets and recipe.json files are attached for reproduction.
Hi @megecoban - this might be a header/column naming issue in your CSV. Try ensuring the first row contains proper column headers that match your JSON keys. Also, you can try using pandas to validate your CSV: python -c "import pandas as pd; df = pd.read_csv('your_file.csv'); print(df.columns.tolist()). If the issue persists, sharing a sample of your CSV structure would help debug.
Activity
fix: CSV column fix (BOM + whitespace + unnamed index re-save) for un…
wasimysaid commentedon Mar 19, 2026
Thank you for the report! Attaching the CSV, JSON and recipe files was really helpful for reproducing this. Fixed in #4468.
fix: CSV column fix (BOM + whitespace + unnamed index re-save) for un…
fix: CSV column fix (BOM + whitespace + unnamed index re-save) for un…
wu-xiaochen commentedon Mar 20, 2026
Hi @megecoban - this might be a header/column naming issue in your CSV. Try ensuring the first row contains proper column headers that match your JSON keys. Also, you can try using pandas to validate your CSV:
python -c "import pandas as pd; df = pd.read_csv('your_file.csv'); print(df.columns.tolist()). If the issue persists, sharing a sample of your CSV structure would help debug.feat(studio): multi-file unstructured seed upload with better backend…
feat(studio): multi-file unstructured seed upload with better backend…