I get an error when I try to use an email, with a dash, as a key in syncLead. This is a SOAP call. | Community
Skip to main content
August 18, 2016
Solved

I get an error when I try to use an email, with a dash, as a key in syncLead. This is a SOAP call.

  • August 18, 2016
  • 1 reply
  • 1723 views

According to this page the ID is assigned by the Marketo cookie which is the script with the Munchkin ID in it, which should already be on the page itself. We need to pass the ID as an email, not as an ID.

I get this error:  SoapFault: 20105 - Unknown lead field in SoapClient->__soapCall() when I have a dash in the email being used as an ID. This even happens when I put an email without a dash in the email field that is not the same field being used as the email ID.


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

I can't repro this.  I suspect there's something else wrong with your SOAP payload.

1 reply

SanfordWhiteman
New Participant
August 18, 2016

I don't understand what you mean by "email as an ID".  Id is an integer, period., If you want to pass an Email address as your key, use the other option, Email.

It is not true that "the ID is assigned by the Marketo cookie." This is an orthogonal issue anyway.

August 18, 2016

That is what I meant to say. I am passing my email address as my key. But if that email address has a dash in it, it won't work. Is this how it is supposed to work?

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
August 19, 2016

I can't repro this.  I suspect there's something else wrong with your SOAP payload.