Import failed Please correct the format of the file and import again


Please help, I am on ERPNext: v9.2.2 (master) and Frappe Framework: v9.2.3 (master). When I tried to upload a csv file (Production order), I received import failed error without any detailed information. I have checked every column and no problem was found. How to debug this?

Tried using command
[cahyadi@test ~]$ bench --site site1.local import-csv ~/testfb.csv
[cahyadi@test ~]$

no error, but no production order gets imported

Have you compared the export csv with the to be imported csv? Especially in terms of separation characters, encoding adn the like…

Maybe you can share the to be imported csv…

Whoopsy… silly me… there was a custom field that linked to a batch, and the batch does not exists in the system…

Not silly you. That error is not verbose enought to understand the problem.