cancel
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.

There was a conflict between the supplied data and the existing resource.

Occasional Contributor

There was a conflict between the supplied data and the existing resource.

Hello,

 

The new API is giving me some headache with creating or updating contact lists.

Using the .NET wrapper and the IO Docs, I keep getting the following response message:

 

[{
   
"error_key":"http.status.conflict",
   
"error_message":"There was a conflict between the supplied data and the existing resource."
}]

 

I even tried mulitple browsers (Chrome, IE 10)

 

This issue occurs while executing the JSON payload metnioned in the API documentation.about creating a contact list.

 

{
 
"name":"Hot Opportunities",
   
"status":"ACTIVE"
}

 

Can anyone shed some light on this issue?

7 REPLIES 7
CTCT Employee

Re: There was a conflict between the supplied data and the existing resource.

Hi,

 

That message is indicative of a 409 (duplicate) error.  Do you already have a list with the name "Hot Opportunities"?  Can you create a list with a different name?

 

Best Regards,

Shannon W.

API Support Specialist

Occasional Contributor

Re: There was a conflict between the supplied data and the existing resource.

Hello Shannon,

 

The list does not exist. To be sure, I tried again with different listnames. I am sure they were never created before, and the result was the same.

 

I also tested deleting and updating a list. The same error message is shown after performing these actions aswell.

 

Get functionality works fine though. I can also create/update contacts. Scheduling a campaign also works as expected. I only seem to be running into this issue with creating/updating/deleting contact lists.

CTCT Employee

Re: There was a conflict between the supplied data and the existing resource.

Hi,

 

I did just try to create a new list with the same JSON payload you posted, and it went through successfully for me in IO Docs using Chrome.  Would you mind emailing us your Constant Contact username and the API Key you're using, to webservices@constantcontact.com so that we can take a look at those for any issues?  If you wouldn't mind giving us your access token as well, we can troubleshoot to see if we can reproduce the issue (otherwise, we'll just try to identify any issues with your account or key).  Thanks in advance.

 

Best Regards,

Shannon W.

API Support Specialist

Occasional Contributor

Re: There was a conflict between the supplied data and the existing resource.

Hi,

 

Thank you for your response Shannon.

I got the feeling there was something conflicting on my constanct contact account. Some time ago, I had some issues creating a contact list using the API v1: setting the OptInDefault property to true creates some conflicts in the sign-up tools. After contacting webservices@.. they suggested me to switch to API v2.

 

Resolving those conflicts in the signup-tools -> Edit Join My Mailing List Form solved the issue, and I can now execute the JSON mentioned earlier successfully. 

Occasional Participant

Re: There was a conflict between the supplied data and the existing resource.

Hi,

I am using constant contact php-api and I have the exact same problem, but it does not occur while creating a new contact while the same error occurs when I am updating a contact (when confirmed opt-in is on he has confirmed the subscription). Also I dont get any error whether it is adding a new contact or updating an existing contact while the Confirmed opt-in is not used. Dont know what to do, the above solution didn't work for me.

Please help me.

 

Thanks,

MAK

 

Moderator

Re: There was a conflict between the supplied data and the existing resource.

Thanks for reporting this.  We confirmed that there are some issues with state transitions for contacts in the "Awaiting Confirmation" state (I.E. they were sent a confirmed optin email and didn't click the link).  We are investigating and hope to have a fix soon.  Will post more information in our release notes as we have more details.  You can find this information on our developer website: http://developer.constantcontact.com/docs/release-notes/may-2014-rel-notes.html

Dave Berard
Senior Product Manager, Constant Contact
Occasional Participant

Re: There was a conflict between the supplied data and the existing resource.

Thanks, will follow till it's fixed.

 

Regards,

MAK