Problem
MoEngage is unable to process the files due to implementation issues.An import fails unless each file is less than 1 GB for a user import, or less than 500 MB for an event or auxiliary data import.

Instructions
Perform the following steps:- Check for common issues: If imports fail, check the status details. Hovering over the status may show a “file not found” error.
- File size: Ensure that each file is less than 1 GB for a user import, or less than 500 MB for an event or auxiliary data import. For a PGP-encrypted file, MoEngage decrypts the file first and then checks its size, so an encrypted file under the limit can still fail.
- Handling 504 errors:
- 504 errors often occur due to large numbers of files in a single S3 bucket. If there are over 1000 files in one folder, it can cause timeouts.
- To resolve this, split the folder into multiple folders with fewer files (<=100 for each folder). The backend S3 import fetch file API currently has a timeout of 5 minutes.