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.

409 Conflict Site owner has more than one default list

Highlighted
Occasional Contributor

409 Conflict Site owner has more than one default list

I am getting this error after creating a few lists which happened without any issue. It seems to be related to another error where I try to delete some of the non default lists and it won't let me delete. The error message I get is: "You have chosen to delete your default list. The default list cannot be deleted." - But, I am pretty sure I haven't chosen the default list. The UI prevents you from choosing default list for deletion.

 

I am confused.

1 REPLY 1
Highlighted
Trusted Contributor

Re: 409 Conflict Site owner has more than one default list

Hello,

 

I think you have run up against a known issue with creating lists through the API. Our engineers are are that when creating lists through the API, more than one default list can be created if the <OptInDefault> element in the XML sumbitted with the call to create more than one of your lists contains "true." They are working to resolve the issue. For now, you can avoid it by adding some code to set the value the contents of this element to "false" in the XML when creating lists.  

 

To resolve the errors, you should update your lists (fairly simple if using one of our Wrappers libraries), to change the <OptInDefault> to "false" for all but the desired default.

 

I apologize for any inconvenience or frustration the issue has caused you. Hopefully we can get it resolved soon, so an appropriate error is returned when attempting to create a second default list.

 

Cheers,

Mark Coleman
Support Engineer
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