Common causes and fixes
Check file encoding
If you see an “invalid byte sequence in UTF-8” error, your file may not be saved with the correct encoding. It should be saved as UTF-8.
Identify white space
White space is the most common cause of SFTP upload failures and can lead to errors such as “Quantity is missing: order_reference”. This includes extra spaces after information, spaces between commas, or accidental extra lines.
Open file in Notepad
To inspect your file for white space, right-click on the import file, select Open with, then choose Notepad. In Notepad, you will see the import laid out in text form with comma-separated values.
Frequently asked questions
What does 'invalid byte sequence in UTF-8' mean?
What does 'invalid byte sequence in UTF-8' mean?
This error usually means the file you are trying to upload is not saved using the correct encoding, which should be UTF-8.
What is white space?
What is white space?
White space refers to invisible characters like spaces or extra lines in your file. It includes spaces after data, between commas, or entirely empty lines at the end of the file.
How can I prevent white space?
How can I prevent white space?
Always double-check your file in a plain text editor like Notepad before uploading. Pay close attention to any extra spaces and ensure there are no unintended empty lines at the end.

