File Errors
If an event data upload from Amazon S3 fails with a timeout error, see Why Are Event Data Uploads From S3 Failing Due to a Timeout Error?

Fix UTF-8 Encoding Errors


Check the File’s Encoding
- Identify the current encoding: Open the file in a text editor such as Visual Studio Code or Notepad++. The current encoding usually appears in the status bar at the bottom-right corner of the window.
- Find characters that aren’t valid UTF-8: Open the file in a text editor set to UTF-8. Invalid characters often appear as a black diamond with a question mark or other garbled symbols. You can also paste the file contents into an online ASCII or UTF-8 checker, which highlights the characters that aren’t compliant.
Save the File With UTF-8 Encoding
- Microsoft Excel
- Google Sheets
- Notepad (Windows)
Save as CSV UTF-8 (newer Microsoft Excel versions)
- Open your file in Microsoft Excel.
- Go to File > Save As.
- In the Save as type list, select CSV UTF-8 (Comma delimited) (*.csv).
- Click Save.
- Open a new, blank workbook in Microsoft Excel.
- On the Data tab, click From Text/CSV.
- Select your CSV file and click Import.
- In the preview, select a File Origin encoding that makes your text appear correctly (for example, 1252: Western European (Windows)).
- Click Load to import the data into the blank sheet.
- Go to File > Save As.
- In the Tools list next to the Save button, select Web Options.
- On the Encoding tab, under Save this document as, select Unicode (UTF-8).
- Click OK, and then click Save.
Supported and Unsupported Characters
With a correctly encoded UTF-8 file, MoEngage supports:- Standard alphanumeric characters: a-z, A-Z, 0-9.
- Common symbols: @, ., _, -, +, !, and others typically found in names, emails, and addresses.
- International characters and accents: ñ, é, ü, ç.
- Symbols and emojis: for example, currency symbols such as € and ₹, and emoji characters.
- Complex attribute types: You can’t import complex data such as JSON objects, dictionaries, or lists directly into a single CSV field.
- Incorrect newline characters: The only supported newline character is
\n(Line Feed). Files created on Windows sometimes use\r\n(Carriage Return + Line Feed), which can cause parsing issues. Saving the file through Google Sheets or a text editor often fixes this. - Hidden control characters: Non-printable characters, such as null characters, can corrupt the file and cause the import to fail. These are often introduced when you export data from certain systems.
- Very small files: A file with fewer than five rows of data may cause an error. If this happens, add dummy rows to meet the minimum.