The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

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

Highlighted
Occasional Contributor

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
Highlighted
Moderator

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

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
Highlighted
Occasional Contributor

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

That was it, but thanks for confirming!

Developer Portal

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

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured