Thanks for contacting Klaviyo, I hope you are well!
You are getting that error (A profile already exists with one of these identifiers) because there is already a profile with that phone number (but different email address
This is an expected behaviour for the V3 endpoints:
The V3 API is intended to better check for duplicated identifiers for the profiles and this primarily will look for the same unique identifier.
The only way to successfully update this profile with the phone number already existing for another profile is to first clear (or change) the phone number from the other profile before making the call.
This is very well intended to avoid duplicated profiles with the same unique identifier.
Thanks for contacting Klaviyo, I hope you are well!
You are getting that error (A profile already exists with one of these identifiers) because there is already a profile with that phone number (but different email address
This is an expected behaviour for the V3 endpoints:
The V3 API is intended to better check for duplicated identifiers for the profiles and this primarily will look for the same unique identifier.
The only way to successfully update this profile with the phone number already existing for another profile is to first clear (or change) the phone number from the other profile before making the call.
This is very well intended to avoid duplicated profiles with the same unique identifier.
Hi @KeviSunshine , did you manage to resolve this issue?
I noticed that we were getting 409 issues when we try to upsert profiles due to an issue with Klaviyo JS creating duplicate accounts. I’ve explained it in the post I’ve linked below and I’m curious to see if maybe you were experiencing the same issue I was and if you were able to resolve it ?
The answer here is quite straightforward–with Klaviyo’s new APIs (v3), if you try to create a profile with an email and a phone number, but only one of those identifiers already exist on a profile, it will throw a 409.
So if I have a profile in Klaviyo with phone number 555-555-5555 and the email testing@example.com, and I try to upsert/create a profile with phone number 555-555-5555 and testing123@example.com, it will throw a 409 and not create a profile.
(When doing an upsert in this situation, the older version of the APIs would update the profile and change the email.)