diff --git a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
index dbe583d716ea6c9f10568ecbb27244f0b1d4e4eb..0f58b82872d117b88b631c6d707a6ef699378366 100644
--- a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
+++ b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
@@ -475,7 +475,7 @@ class RowCustomizer implements RowCustomizerInterface
     private function getStoreCodeById($storeId)
     {
         if (!isset($this->storeIdToCode[$storeId])) {
-            $this->storeIdToCode[$storeId] = $this->getStoreManager()->getStore($storeId);
+            $this->storeIdToCode[$storeId] = $this->getStoreManager()->getStore($storeId)->getCode();
         }
         return $this->storeIdToCode[$storeId];
     }