Upsert operation to salesforce | XM Community
Solved

Upsert operation to salesforce

  • 12 July 2018
  • 1 reply
  • 22 views

Badge +3
When I insert a record, every is ok, and I will get a Id value in my debug email that has inserted in salesforce. But I got an error (error: Unable to perform the upsert. Error: A duplicate value was specified for field 'Id' in object 'MAFSurveyQuestions__c', duplicate value 'a94e000000001R4AAI' prior value 'a94e000000001R4AAI') when I changed insert to upsert and added a Embedded Data as a unique key:
!
And my survey is distributed using a button that linked to url. Does anybody have some solutions ?
icon

Best answer by LaurenK 20 July 2018, 17:41

View original

1 reply

Userlevel 7
Badge +13
Hello @annaWang! After taking a closer look at your inquiry, I believe this is a question our Support team would be best able to handle. If you have not yet already, feel free to reach out to our team so they can further troubleshoot this with you!

Leave a Reply