Enter the Share Your Success Sweepstakes 2024 For the Chance to Win Great Prizes!

Contact deleted in UI; API v3 thinks the email is still in use

SOLVED
Go to solution
JulieK7237
Campaign Collaborator
0 Votes

A contact was initially added using API v3. It was then manually deleted via the UI. An attempt to add it (again) via the API results in a 409 response: contacts.api.conflict, "Validation failed: Email already exists for contact <contactID>".

 

Is there a delay or some sort of caching that would prevent UI changes from being immediately visible via the API? If so, what is the expected timeframe and/or is there a workaround available?

 

 

1 ACCEPTED SOLUTION
Jimmy_D
Employee
0 Votes

Hello @JulieK7237,

 

Thank you for reaching out to Constant Contact's API Support.

 

If the contact has been created previously it still exists in the account even if it has been deleted. You will need to use the PUT method to update the contact and make it active again.

 

https://v3.developer.constantcontact.com/api_reference/index.html#!/Contacts/putContact


Regards,
Jimmy D.
Tier II API Support Engineer

View solution in original post

5 REPLIES 5
Jimmy_D
Employee
0 Votes

Hello @JulieK7237,

 

Thank you for reaching out to Constant Contact's API Support.

 

If the contact has been created previously it still exists in the account even if it has been deleted. You will need to use the PUT method to update the contact and make it active again.

 

https://v3.developer.constantcontact.com/api_reference/index.html#!/Contacts/putContact


Regards,
Jimmy D.
Tier II API Support Engineer
JulieK7237
Campaign Collaborator
0 Votes

Thank you, Jimmy D. Something tells me you've heard this before, but just in case: if I delete the contact via the Constant Contact UI, it asks me to confirm that I want to completely remove the Contact from my account. So either the UI behaves differently than the API, or the terminology is inconsistent in the worst possible way. Either way it's really, really, misleading == frustrating, time-consuming, and cost-inducing.

Jimmy_D
Employee
0 Votes

Hi @JulieK7237,

 

The terminology for the UI is more focused on an end-user that is not familiar with our API and programming integrations. I can bring this up to our Product Owners and see what we can do to make everything more consistent.


Regards,
Jimmy D.
Tier II API Support Engineer
user9863
Rookie
0 Votes

Was just burned by this too in testing an integration. If it has been deleted it should act deleted -- even if it was a soft delete under the hood.

Is there any way to truly delete the contact at an API level? If not then this isn't a UI vs API thing, it's an inconsistent data thing.

Courtney_E
Moderator
0 Votes

Hello user9863,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

Once a contact (email address) has been added into the system, even if it is deleted, the contact entry and details still remain on the back end of the system for reporting and compliance purposes. 

 

For example, if a contact unsubscribes from your organization’s mailing list, and you were to delete and then re-add that contact, they would be re-added as unsubscribed rather than as a new contact. This allows us to be compliant with the CAN-SPAM Act, as well as other applicable laws and regulations. 

 

CAN-SPAM Act and how it affects your campaigns

https://knowledgebase.constantcontact.com/articles/KnowledgeBase/5825-can-spam-act-and-how-it-affect... 

 

Frequently Asked Questions for Contacts

https://www.constantcontact.com/legal/about-constant-contact-faqs 

 

Essentially, deleting a contact never really deletes them. It just strips their list memberships, moves them into a “deleted” status, and hides them from being visible in the account.

 

Please have a look and let us know if you have any other questions! Or, if you have questions specific to our policies or terms of service, please contact us at privacy@endurance.com 

 

Please have a look and let us know if you have any other questions!


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

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

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up