We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

API Importing from CSV fails to import on some emails

Occasional Participant

API Importing from CSV fails to import on some emails



I can successfully import lists of emails but we have a file today that will not import. Instead it displays the content of the email instead in the browser.




{"import_data":[{"email_addresses":["EMAIL"]} (I replacd the actual email address with EMAIL)


This repeats through the whole list.: {"import_data":[{"email_addresses":["EMAIL"]}, {"import_data":[{"email_addresses":["EMAIL"]}, {"import_data":[{"email_addresses":["EMAIL"]}  etc...


Some of the emails use this format.




Is this causing the problem? as firstname.lastname@email.com works fine. I am wondring if the additional period is causing the problem.





Hello Savino,


If the import is failing, the API should be giving you a specific error message about what in the email is causing it to fail. I did personally test an email address with two periods and it works without issue. I suspect that the issue is likely a specific entry in the list that is violating the formatting rules.


If you have the specific error message I should be able to provide more information here on the forums. In addition, you can also send the JSON payload to us at webservices@constantcontact.com so that we can check it for errors without having to post those email addresses on a public forum.



Elijah G.

API Support Specialist

Elijah G.
API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page