If you see a "directory does not exist" error while setting up Amazon S3 export, the bucket and path configuration likely don't match.
The following errors might appear on your screen: "Empty or invalid directory" and "Regexp pattern did not match any files."
Troubleshooting steps
- Use a matching bucket for export and import: ensure the bucket you use for export matches the one you use for import.
- Run a new export with correct settings: Set up a new export with the correct bucket and path. Leave the path blank or use "/" to export a small file to the root folder. This will help in verifying the correct path structure in your S3.
- Verify file location in S3: Check the actual location of the exported file in your S3. This will help you understand and correct the path structure.
- Immediate import after export: Run the import immediately after the export to ensure the exported file remains available in the bucket.
- Check the regex (filter) settings: Use the correct regex during import to match filenames appropriately.
For a detailed overview of data export setup, including the flexibility of defining export output and ensuring proper permissions, read Data Exports.