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.

Can anyone think why I might get a 409 (Conflict) by trying to add this contact?

LouisN
Occasional Participant

Can anyone think why I might get a 409 (Conflict) by trying to add this contact?

<entry xmlns="http://www.w3.org/2005/Atom">
  <title type="text"></title>
  <updated>2008-07-23T14:21:06.407Z</updated>
  <author></author>
  <id>data:,none</id>
  <summary type="text">Contact</summary>
  <content type="application/vnd.ctct+xml">
    <Contact xmlns="http://ws.constantcontact.com/ns/1.0/">
      <EmailAddress>lnardoziebay@gmail.com</EmailAddress>
      <FirstName>rpaul</FirstName>
      <LastName>promises</LastName>
      <EmailType>HTML</EmailType>
      <OptInSource>ACTION_BY_CONTACT</OptInSource>
      <CustomField1>81175e00-6478-4a8b-9f39-a3f46c5a6aab</CustomField1>
      <CustomField2>http://IVoted4RonPaul.com?UniqueKey='</CustomField2>
      <CustomField3>'&gt;Click here to register your vote!&lt;/a&gt;</CustomField3>
      <ContactLists>
        <ContactList id="http://api.constantcontact.com/ws/customers/my_user_name/lists/1"/>
      </ContactLists>
    </Contact>
  </content>
</entry>

2 REPLIES 2
Nick_G
Moderator

Hey Louis,

 

A 409 conflict when creating a contact usually means that a contact already exists in your account with that email address. If you run your XML through RESTClient, it will display the full body output, which might make things a little more clear as well.

 

If it does end up that this contact already exists, you can always run an update to put the information into the existing contact. You'll just want to be a little careful of how you handle that, as depending on where the form is located, anyone could put any existing email address in and overwrite the existing contact.

Nick Galbraith
Support Engineer
LouisN
Occasional Participant

That was it, but thanks for confirming!

Developer Portal

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

Visit Page