when i have product export and below message showing

Error: "Message is added to queue, wait to get your file soon"

Also i run cron command like

php bin/magento cron:run

still not downloading CSV file

i know here asking someone but this is not working for me
Any help would be appreciated.


6 Answers 6


Run this command then check in admin

php bin/magento queue:consumers:start exportProcessor

you will get download option

enter image description here

  • yes downloading but it taken too much time not quickly downloading Commented Nov 18, 2019 at 11:20

Try to fix Following way..

Open below file


and replace below function

public function execute()
    if ($this->getRequest()->getPost(ExportModel::FILTER_ELEMENT_GROUP)) {
        try {
            $params = $this->getRequest()->getParams();
            $model = $this->_objectManager->create(\Magento\ImportExport\Model\Export::class);

            return $this->fileFactory->create(

            /** @var ExportInfoFactory $dataObject */
            $dataObject = $this->exportInfoFactory->create(

            $this->messagePublisher->publish('import_export.export', $dataObject);
                __('Message is added to queue, wait to get your file soon')
        } catch (\Exception $e) {
            $this->messageManager->addError(__('Please correct the data sent value.'));
    } else {
        $this->messageManager->addError(__('Please correct the data sent value.'));
    /** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */
    $resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
    return $resultRedirect;

Please don't forget to clear cache after change in files

  • This solution indeed allow to download the file directly; I've been using it a lot as a workaround; but...kinda would like to suceed fixing the cron job itself. Can't understand why the message_queue is there but nothing happen after even running cron manually this is the real issue.
    – Claims
    Commented Feb 15, 2023 at 10:23

After cron command just refresh the page if still you don't get the file check the notification icon
enter image description here


I have tried changed the code in the export.php file and it works. The pending issue is that the files available to download are not seen at another time. Is it possible to fix that error?

  • If you have follow on questions, please ask a new question rather than posting it in an answer. Commented Sep 11, 2023 at 15:44

Disable the the Add Secret Key to URL option

  • In the Magento Admin, navigate to Stores > Configuration > Advanced > Admin > Security.
  • Set the Add Secret Key to URLs option to No.
  • Click Save Config.
  • Clean cache under System > Tools > Cache Management or by running bin/magento cache:clean or in Magento Admin.

To get the exported file, run the bin/magento queue:consumers:start exportProcessor command. After running this, the file should be displayed in the grid.


Just run this command in magento2 directory php bin/magento queue:consumers:start exportProcessor If you have root privileges otherwise you put sudo before command like this sudo php bin/magento queue:consumers:start exportProcessor

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.