QUESTION:
I installed module v1.0.6 for my site Magento 2.2.6.
Exporting the categories to a file csv is fine, however, when I use this exporting file CSV to import, we have validation issues: "Sorry, but the data is invalid or the file is not uploaded".

How to fix it?
ANSWER:
This error happened since the file separator is missing in M2.2.6.
To fix the error, please edit file app/code/Bss/CategoriesImportExport/Model/Source/Import/Behavior/Category.php as below:

If you need further assistance, please feel free to contact us. As a full-service ecommerce agency, we deliver trusted end-to-end solutions with 14+ years of experience, supporting 75,000+ customers worldwide.
We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.
Discover our top tier extensions:
- BSS Commerce’s Magento 2 B2B Extension is an all-in-one solution that streamlines wholesale operations with advanced pricing, company management, and efficient B2B workflows.
- BSS Commerce’s Magento 2 SEO Extension is a powerful tool that enhances search visibility, automates SEO tasks, and drives more organic traffic to your Magento store.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article