> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-user-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Fix Common Errors with Simple Storage Service (S3) Import?

## Problem

MoEngage is unable to process the files due to implementation issues.

<Info>
  Import fails happen when the file is larger than 200 MB.
</Info>

<img alt="imports failed.png" src="https://mintcdn.com/moengage-user-guide/21Ihfdzne33T-IUl/images/moengage_07946e.png?fit=max&auto=format&n=21Ihfdzne33T-IUl&q=85&s=2a37d5f4698cdb4c53c02180c1cfd52b" width="1024" height="313" data-path="images/moengage_07946e.png" />

## Instructions

Perform the following steps:

1. **Check for common issues:** If imports fail, check the status details. Hovering over the status may show a "file not found" error.
2. **File size:** Ensure that each file is not larger than 200 MB.
3. **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.
