I am getting the error "The source file moving process failed." when trying to perform any type of import. I have tried catalog re-index, tried changing the file, been searching but cant find any solution. I can import other entities like advanced pricing

enter image description here

2 Answers 2


In Magento 2.4.x Media Gallery is introduced and is known to cause the issue.

Change this in your backend and hopefully the import will work again:

Stores > Configuration > Advanced > System > Media Gallery > Enable Old Media Gallery: Yes

  • I had that setting on Yes already
    – ugo roubzy
    Nov 10, 2021 at 14:13

For the Source file coping failed error message your can check, what is the ownership of the var/importexport directory in your Magento document root. This error may come if the file or directory ownership is different compared to the ownership on which you are running your Magento.

This error comes because of wrong permission and ownership.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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