You need to sign in to do that
Don't have an account?
leadliaison
API Error
Hello,
We are getting the error below when making the API call below. This seems to be happening because of the built-in dedupe logic in Salesforce.com (see screenshot). Can anyone tell me why the deduplicate logic is causing this API error? The lead/contact did not previously exist.
API Error:
stdClass Object
(
[errors] => stdClass Object
(
[fields] =>
[message] => You are possibly creating a duplicate record. Please see Mike to verify lead status.
[statusCode] => UNKNOWN_EXCEPTION
)
[id] =>
[success] =>
)
We are getting the error below when making the API call below. This seems to be happening because of the built-in dedupe logic in Salesforce.com (see screenshot). Can anyone tell me why the deduplicate logic is causing this API error? The lead/contact did not previously exist.
API Error:
stdClass Object
(
[errors] => stdClass Object
(
[fields] =>
[message] => You are possibly creating a duplicate record. Please see Mike to verify lead status.
[statusCode] => UNKNOWN_EXCEPTION
)
[id] =>
[success] =>
)
Here is the call we are sending to the SFDC API:
$crmConn = new SforcePartnerClient ();
$this->crmConn->create ( $sObjects, 'Lead' );
Where the $sObjects we used was as following:
Array
(
[0] => SObject Object
(
[type] => Lead
[fields] => Array
(
[Phone] => 207-588-1019
[FirstName] => Patti
[LastName] => Sutter
[Email] => psutter@mainetechnology.org
[Company] => Maine Technology Institute
[Country] => United States
[City] => Brunswick
[State] => Maine
[PostalCode] => 04011
[LeadSource] => Organic Search (SEO)
[Leadliaison__LLLastSearchEngine__c] => google
[Leadliaison__LLLeadLiaisonGrade__c] => C
[Leadliaison__LLLeadLiaisonScore__c] => 68
[Leadliaison__LLOriginalReferralSource__c] => http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwioxPGe6pnQAhVB74MKHQulBXUQFggbMAA&url=http://www.creative-ig.com/&usg=AFQjCNG7lvpsY4zkafJ7Tqov-dR-JO1Jcg&sig2=OgM27RTE8u6gW1ougyFdYQ&bvm=bv.137904068,d.amc
[OwnerId] => 00561000000vDYfAAM
)
)
)
Here are the duplicate lead settings in the instance:
Here are the duplicate lead settings in the instance:
Makes sense and we thought the same thing; however, there was no email for this person as Salesforce.com Lead. Would the Duplicate Lead Rule block/deny the API call for another record even if the emails were not the same? The odd thing is that we manually created the Lead in Salesforce.com, using the same informaiton, and this was not blocked.
It would be great to understand the exact rules of the Duplicate Rule, and to know when it triggers.