ethereum/esp-website

Inquiry Form Submission Duplicates

monetmignon opened this issue · 4 comments

Describe the bug

Submissions through the ESP inquiry form, are successfully coming through to Salesforce, but multiple Lead records are being created for the same inquiry. The original inquiry will come in, and then 2-3 hours later, 2 more duplicate inquiries will be created. These duplications aren't happening consecutively. It seems like a timing out issue, but I'm not sure.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://esp.ethereum.foundation/en/inquire/
  2. Submit a Specific Project inquiry
  3. See if duplicate Lead records are created for the same inquiry in Salesforce

Expected behavior

Only one Salesforce Lead record should be created for each unique inquiry

Screenshots

image

Additional context

It seems like only one Segment submission is coming through, so I'm assuming the issue lies with the Segment <> Salesforce connection.

@wackerow @corwintines could you folks please look into this?

I suspect this is an issue with the Segment --> SalesForce integration. Looking at event delivery over the past couple weeks, there is a combo of delivery issues: 502 Bad Gateway & Etimedout. My guess is that Segment thinks delivery fails, then retries sending the event, then eventually both attempts make it to Salesforce, which creates duplicate records. Please check my logic here though (because if it is re-tries, wouldn't the records just overwrite in Salesforce vs. creating a duplicate?).

Not sure what the solution is here.

I believe we can close out this issue once we move away from Segment to the new API connection.

nhsz commented

@monetmignon could you confirm if this is still an issue?