v1.0.6: How to fix the validation error on M2.2.6?

Created by Jane D, Modified on Mon, 17 May, 2021 at 11:22 AM by Jane D

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 any further assistance, please feel free to contact us. We'd be happy to support!  


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article