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.

Go to solution
Highlighted
Anonymous
Not applicable

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

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.


Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Level 10 - Community Moderator

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

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

View solution in original post

3 REPLIES 3
Highlighted
Level 10 - Community Moderator

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

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.

Highlighted
Anonymous
Not applicable

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

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?

Highlighted
Level 10 - Community Moderator

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

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

View solution in original post