I am POSTing the following XML to create a new contact list and getting a 400 Bad Request error.
Posting to https://api.constantcontact.com/ws/customers//lists (where is the actual user name).
Can you tell me why I am getting this error?
Thanks!!
<?xml version="1.0" encoding="UTF-8" ?>
<entry xmlns="http://www.w3.org/2005/Atom">
<id>data;,None</id>
<title type="text"> </title>
<author />
<updated>2011-03-18</updated>
<content type="application/vnd.ctct+xml">
<ContactList xmlns="http://ws.constantcontact.com/ns/1.0/">
<OptInDefault>false</OptInDefault>
<Name>Test</Name>
</ContactList>
</content>
</entry>
Malcolm
I believe the issue is the semi-colon in your ID. If you change your id from:
<id>data;,None</id>
To:
<id>data:,None</id>
I believe this will resolve your issue. Please let me know if this does not work, or if you have any other questions or concerns regarding this. Thanks
David J
That was it! Thanks!
Malcolm
The holidays have come and gone. For many seasonal businesses, this means the rush of shoppers has decreased as well. Instead of turning off the lights and waiting for spring, make your email marketi...
See Article