New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The external ID provided matches more than one record #243
Comments
Sounds like a Salesforce issue rather than a Restforce one! What happens if Tim Rogers On Tue, Jul 5, 2016 at 9:46 PM, Carlos Cervantes notifications@github.com
|
I'm only seeing this for a handful of users which makes me think there is some user error from the sales team involved. I've confirmed that I can call
Either way, |
Email is not a unique field in Salesforce. So if you have two leads with the same email then Salesforce don't know which record to update and raises this error. It's a feature, not a bug:
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_upsert.htm |
Since updating to the new version I am seeing many "The external ID provided matches more than one record" when using
upsert
.Example of how I am using upsert. Which runs whenever my User model is changed.
Since I am using upsert. It shouldn't be possible to created multiple Leads on Salesforce with the same email. Any ideas?
The text was updated successfully, but these errors were encountered: