Skip to main content
October 31, 2015
Question

The same e-mail address was assigned multiple Lead Ids -- why, and how to avoid it?

  • October 31, 2015
  • 1 reply
  • 2379 views

I'm also asking our friendly integration consultant, but given that I'm working late, I thought I'd try my luck here, too.

How come the same mail address is assigned two different LeadIds ?

I was under the impression that the email address is a primary look-up key for leads and should not be mapped to more than one lead.

These leads are created using the create-or-update-leads JSON API with no custom merge/lookup key.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
October 31, 2015

Are you running upserts in parallel?

October 31, 2015

Yes, up to 8 of them in parallel. Trying to serialize before upload is unlikely to work on our side as we're looking at more volume than a single host is good for, especially during spiky peak times.

SanfordWhiteman
Level 10
October 31, 2015

You don't have to serialize, but use a sharding algorithm so updates for the same lead are processed by the same worker.  There's no utility to attempting parallel upserts of the same record (and certainly no guarantee that updates will be applied in order).