After configuring s3-import, we're facing issue while import from local

mk00559179
mk00559179 Posts: 18 🧑🏻‍🚀 - Cadet

We've configureds3-import with help of this article https://docs.spryker.com/docs/ca/dev/configure-data-import-from-an-s3-bucket.html,

s3-import is working fine, but now we're facing issue from local import

ed.CRITICAL: Spryker\Zed\DataImport\Business\Exception\DataReaderException - File "data/import/common/common/currency.csv" could not be found or is not readable.Flysystem "files-import" was not found in "/data/vendor/***/data-import/src/Spryker/Zed/DataImport/Business/DataReader/CsvReader/CsvAdapterReader.php::255" {"exception":"[object] (Spryker\\Zed\\DataImport\\Business\\Exception\\DataReaderException(code: *): File "data/import/common/common/currency.csv" could not be found or is not readable.Flysystem "files-import" was not found at /data/vendor/***/data-import/src/Spryker/Zed/DataImport/Business/DataReader/CsvReader/CsvAdapterReader.php:255)

Let us know if there is something missing in configuration

Answers

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,087 ⚖️ - Guardians (admin)

    Heyhey @mk00559179 ,

    I think without further code/context its nearly impossible to help here :( Can you please provide more code?

    All the best,

    Florian

  • mk00559179
    mk00559179 Posts: 18 🧑🏻‍🚀 - Cadet

    Previously we used local to import product data entity , but we want to utilize s3 import for product import so for product only we're using s3 import , but when we trying to import other entity from local file system then it is giving error like Exception: File "data/import/common/common/cms_block.csv" could not be found or is not readable.Flysystem "files-import" was not found

    like for cms block we're passing below into yml file

    actions:    - data_entity: cms-block      source: data/import/common/common/cms_block.csv
    

    we've not customized anything into code, we just follow this steps mentioned in this docs https://docs.spryker.com/docs/ca/dev/configure-data-import-from-an-s3-bucket.html and upgrade data import module to 1.25.0.

    let me know if this would help.