Why Does a NoneType Comparison Error occur During SFTP/S3 Import?

Problem

While performing an Amazon Simple Storage Service/Secure File Transfer Protocol (S3/SFTP) import, the following error appears when attempting to fetch a file:

'>' not supported between instances of 'NoneType' and 'int'.

none type.png

Solution

Perform the following step:

  • Verify the subfolder names inside the parent folder. If any names contain spaces, rename them on the SFTP server and retry the import.
warning

Warning

MoEngage does not support file or folder names with empty spaces when importing through S3/SFTP.

 

info

Information

If some import files fail, check for the cells in the file that have too much data. The maximum allowed limit for each cell (or field) in a file is 131,072 characters. Exceeding this limit can cause the import operation to fail. 

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?