Showing results for 
Search instead for 
Did you mean: 
In recognition of Martin Luther King Day, our Support Centers will be open with limited hours on Monday (1/20) from 10AM ET to 6PM ET.
Visit our Help Center to see all of the ways you can find answers to your questions.

400 failure when adding contact

New Member

400 failure when adding contact

I have a form and server-side PHP code based on the PHP sample from ConstantContact. It returns a 400 error when I try to add a contact.  If I use an email address I know is already in my contacts, I correctly get an "email address already exists" error, so that indicates there is no issue with login, authentication.  But I can't figure out why the operation is failing for new contacts. Below is the XML that I'm sending. Any ideas?




<?xml version="1.0"?>
<entry xmlns="">
<title type="text">Contact</title>
<summary type="text">Contact</summary>
<content type="application/vnd.ctct+xml">
<Contact xmlns="">
<Addr1>123 A Drive</Addr1>
<Note>Blah Blah</Note>
<ContactList id=""/>

CTCT Employee

My apologies for the delay in

My apologies for the delay in response. We had created a new thread to address this issue as it was a temporary system wide problem. The posting can be found here:


Your XML works fine when tested in the REST Client so I am assuming that you should be all set now.

Dan H

Support Engineer, Constant Contact