Clay Icon

API Error Message: Lead Already in Campaign instead of Green Check Confirmation

ยท
ยท

Hey team, still me and Lemlist. I'm getting an API error message saying "lead already in the campaign" instead of having "added to the campaign with a green check. https://app.clay.com/workspaces/45198/tables/t_j7vaJAUaALzw/views/gv_2LBbPjhHcWsZ Line 39, Elias El Ferkh is an example and line 44 a second one. On Lemlist I see he's in the campaign, and it doesn't seem to be any issue with it

  • Avatar of Arturo O.
    Arturo O.
    ยท
    ยท

    Hmm, checking!

  • Avatar of Clay Team
    Clay Team
    APP
    ยท
    ยท

    yeah, that's a bit strange and one of them doesn't even show up with the lookup. Is that row 39 also in the campaign? Keethu R., looks like we may be getting a different response from some calls but it's not clear. Would you be able to take a look when available? thank you!

    caa6dd7f-93b1-45af-a503-0a6b9af0f50a.png(34 kB)
  • Avatar of Tarek F.
    Tarek F.
    ยท
    ยท
  • Avatar of Keethu R.
    Keethu R.
    ยท
    ยท

    Hmm looking into this rn

  • Avatar of Keethu R.
    Keethu R.
    ยท
    ยท

    Put up a fix to handle when a lead is already in the campaign that should be live sometime soon! The lookup lead issue however seems to be on Lemlist's side as they are sending back a "Not Found" error - will look into this more and communicate this to them

  • Avatar of Tarek F.
    Tarek F.
    ยท
    ยท

    Thank you Keethu R.! Can you tell me about what is the new process following the fix, regarding leads already in campaigns?

  • Avatar of Keethu R.
    Keethu R.
    ยท
    ยท

    No new process really, but instead of throwing an error, it will be a successful response that just says "Already in Campaign"

  • Avatar of Tarek F.
    Tarek F.
    ยท
    ยท

    Nice, thank you Keethu R. ! It would be nice to have the option to choose if you still want to add the lead in the campaign (or not) if he's already in another one.

  • Avatar of Keethu R.
    Keethu R.
    ยท
    ยท

    I can check if this is possible!