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.
Solved! Go to Solution.
I can't repro this. I suspect there's something else wrong with your SOAP payload.
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.
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?