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.

Email doesn't exist, but adding it produces 409 Conflict response


Email doesn't exist, but adding it produces 409 Conflict response

I am working with the CC API and have it working fine for adding and updating contacts. An interesting scenario has emerged though for a specific email address that I am testing with. When I execute a request to search for the email address, I get a 500 Internal Server Error. Here is the log  ("MyUser" and "MyEmail" are substitutes for the actual values):

webdev.webserver.exe GET api.constantcontact.com https://api.constantcontact.com/ws/customers/MyUser/contacts?email=MyEmail text/plain 500 Internal Server Error

Your API states that this means the email does not exist in my client's lists.  However, when I try to add a new contact with the same email address, I get a 409 Conflict response:

webdev.webserver.exe POST api.constantcontact.com https://api.constantcontact.com/ws/customers/MyUser/contacts text/plain 409 Conflict

This is the XML  I am using for the insert:

<entry xmlns="http://www.w3.org/2005/Atom">

  <title type="text"></title>




  <summary type="text">Contact</summary>

  <content type="application/vnd.ctct+xml">

    <Contact xmlns="http://ws.constantcontact.com/ns/1.0/">






        <ContactList id="https://api.constantcontact.com/ws/customers/MyUser/lists/5" />






My code is working fine for searching, retrieving, inserting and updating contacts with any email other than the one in question. The problematic email belongs to me and might have been subscribed to the client's list in the past (I am not sure).  However, when I log in to my client's CC panel and search for it, it does not show up. What is the explanation for this scenario?




Jeff Graham



Hello Jeff,

I would like to help you resolve this issue; however, there should not be any reason that you are getting a 409 error other than the contact already existing in the account. Could you let me know your username, as well as the email address that is causing this issue? I am going to look into this and find out why this is happening to you.

If you do not want to put this information on the forums, please feel free to email it to the Webservices Support Team.


Benjamin Soder
NOC Analyst
Constant Contact
Developer Portal

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

Visit Page