Skip to main content

We are seeing an issue with volunteers not able to register due to an error code that states "You are creating a duplicate record". 

 

Here is a screenshot of the custom settings for Volunteers for Salesforce that includes our Contact Matching Rules:

 

Attached is the screenshot of the error code registrants are shown:

image.png

 

 

After contacting support, this was their response: 

"As per the screenshot you shared, the flow is failing as the duplicate rule is stopping from creating a duplicate contact. The apex triggers - VOL_VolunteerHours_AddToCampaign is being triggered. The trigger tried to perform an DML operation on a contact record with Id 003Ud000000onKgIAJ (a Contact record). 

 

As this trigger is coming from Nonprofit Success Pack (NPSP) / Volunteers for Salesforce (V4S) managed package, Salesforce support cannot access the trigger code. I recommend you to reach out to the managed package provider to understand the instructions executed by the trigger. 

 

Trigger -

https://treesatlanta.lightning.force.com/lightning/setup/ApexTriggers/page?address=%2F01qf2000000oeJq

 

Does anyone know how I should proceed? Or has anyone encountered this error before?

5 risposte
  1. 22 gen, 03:31

    I have encountered something similar, but our Contact Matching Rule is only "Firstname, Lastname, Email". Typically happens if someone signs up with an existing email but they use a first or last name that does not match the existing record, e.g. contact record first name is "Theodore", but the volunteer enters "Teddy" instead. 

    The rule expects all 3 fields to match exactly.

0/9000