I'm using the command line import, following info provided here:

How do I import contacts through the command line?


But getting the following error message: Invalid file format for filepath/filename.csv. It must be a valid csv with separator ',' or ';'

My file is a valide csv, downloaded using Google Docs to csv, which has been an acceptable way to create clean csv files. Not sure why the import.php won't accept this file.


1 Answer 1


I found the problem. My csv file was on a staging server that required a user name and password for access. The error message was misleading, nothing wrong with the csv file. Once I put the file on the server in a place that is not password protected, it worked fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.