ActiveCampaign Forum

"Email address already exists in the system" while syncing


#1

Continuing the discussion from Contact_sync problem "That email already exists in the system. Please choose another email":

Has this issue been solved? How can I add/sync a contact when it already exists in the system without knowing its id?

Let’s say that someone subscribed to one of my lists in AC via external landing page and after some time decided to sign up an account in my app. I want to add him to “app users” list in AC from the level of my own API but I don’t know if he/she exists in AC and what his contact id is…

I need a method that simply add or update a contact no matter if the email address exists or not. I think this one https://:account.api-us1.com/api/3/contact/sync was supposed to work like that but it doesn’t.


#2

Having the same issue. Looking for a fix since the function says “Create or upcate contact”, but it completely is not updating anything if the customer’s email already exists.


#3

Ok, so it seems that I had an error in my code.
I was using https://:account.api-us1.com/api/3/contacts/sync (with an extra letter “s” at the end of contact) but instead I had to use https://:account.api-us1.com/api/3/contact/sync and now it updates a contact if it doesn’t exist.