I have a problem with import product. When i try import using this option, also import not working when i use "Advanced Pricing" but when i try use for example "Customer Addresses" import working correctly.

enter image description here

My exception.log call me error like

[2021-05-14 06:39:32] main.CRITICAL: Path "/var/www/html/store/var/importexport//DhrGxu1C7TTHZiuhYqftgqXk3seWjyZr.csv" cannot be used with directory "/var/www/html/store/pub/media/" {"exception":"[object] (Magento\\Framework\\Exception\\ValidatorException(code: 0): Path \"/var/www/html/store/var/importexport//DhrGxu1C7TTHZiuhYqftgqXk3seWjyZr.csv\" cannot be used with directory \"/var/www/html/store/pub/media/\" at /var/www/html/store/vendor/magento/framework/Filesystem/Directory/PathValidator.php:63)"} []

I set up permission 777 to var and pub folder. I have created directory like:

var/export var/import var/import_hisotry var/importexport

Please Help


Make sure that ownership over those folders is properly set to the webserver user as well as setting the proper permissions over media folder too.

  • Ownership is properly set. Do you have any ideas?
    – Mateusz
    May 14 at 10:02
  • hmm not really at this point May 14 at 10:04
  • Do you think it should be database problem?
    – Mateusz
    May 20 at 8:33
  • this doesn't look like a db problem. May 20 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.