> ## 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.

# 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'.

<img alt="none type.png" src="https://mintcdn.com/moengage-user-guide/vbW0L13jO4xtQMap/images/moengage_797483.png?fit=max&auto=format&n=vbW0L13jO4xtQMap&q=85&s=9900cd1d469516324f2b9f3fc7e78f8e" width="1920" height="373" data-path="images/moengage_797483.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>
  MoEngage does not support file or folder names with empty spaces when importing through S3/SFTP.
</Warning>

<Info>
  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.
</Info>
