Bad request 404 - Missing required field

Ljubica_KRUNIC
Level 1

Bad request 404 - Missing required field

Am using munchkin.marketo.net/munchkin.js to post lead information to marketo. But for some reason munchkin script is refusing to post the data with the following error:

Missing required field 'Email'

But as you can see we already have the email in the posted url below:

http://{{My-account}}.mktoresp.com/webevents/associateLead?_mchNc=xxxxx_mchKy=xxxxxx&_mchAtsalutation=Ms&_mchAtfirstName=ddd&_mchAtlastName=dd&_mchAtemail=my-address@domain.com&.......

Is there a way to debug such scenario? Thanks.

Tags (1)
2 REPLIES 2
Jay_Jiang
Level 10

Re: Bad request 404 - Missing required field

are you actually calling the munchkin function as per the docs?

Munchkin.munchkinFunction('associateLead', {

'Email': 'my-address@domain.com',

'FirstName': 'ddd',

'LastName': 'dd'

},

'hashedkey'

);

Jay_Jiang
Level 10

Re: Bad request 404 - Missing required field

Use the SOAP field names as per the docs - 'Email' not 'email'