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

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

> Getting a NoneType comparison error during SFTP or S3 import? This usually happens when subfolder names contain spaces. Here's the fix.

## 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/ncl4TtlD4tqnPefh/images/moengage_797483.png?fit=max&auto=format&n=ncl4TtlD4tqnPefh&q=85&s=ed1da0977425b9f5d52ed1d13312e867" 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>
