View Categories

ULC – Lead Capture Actions

< 1 min read

Problem Statement: The  ULC capture log shows partial success as one of the lead capture activities failed. PFB the screenshots:





As per the error, a lead with the same phone number already exists. But the ‘Search By’ parameter in the settings is phone itself. Also, we cannot find any deleted or merged lead with the same phone number that existed in the system.

PFB the screenshot, where we can see that the ‘Lead Capture’ log for the same request is a success as seen in the API logs:





Resolution: 

The 2 lead capture APIs are called with same payload and on exactly the same timestamp, hence the following observations were made:

1st call checked the existing data using the SearchBy parameter ‘Phone’ and no lead was found –> Started lead creation which was eventually created.

2nd call checked the existing data using the SearchBy parameter ‘Phone’ and no lead was found –>  Started lead creation but failed because the first request is processed and there is already a lead with same Phone number.

The solution to this could be implementing timeout in between subsequent API calls.
Scroll to Top