SOLVED

"Invalid cookie value" when calling REST API leads

Go to solution
Anonymous
Not applicable

Re: "Invalid cookie value" when calling REST API leads

Wait - just thought of something.
All the forms I ever filled are hosted on our website, and from the webserver we do a HTTP POST to Marketo.
(that's why we need to implement the auto-fill on our side)

Maybe the cookie on our website domain (xxxxxxxxx.com) is never "making" it into the Marketo databases...
Anonymous
Not applicable

Re: "Invalid cookie value" when calling REST API leads

I am now going to make sure our form submission code comply with the specs in this post - by Murtza Manzur himself -  and try again. I will post here the results.
Anonymous
Not applicable

Re: "Invalid cookie value" when calling REST API leads

I am not sure. It is possible. Let me know if following steps in that blog post solve the issue. 
Anonymous
Not applicable

Re: "Invalid cookie value" when calling REST API leads

Yes! That worked.  

So:
  • Murtza's first reply was the right one for my original question.
  • The rest of the thread helped me fix a separate issue we had when submitting the forms to Marketo: we were missing the _mkt_trk hidden field, so the cookie value was not being stored with the lead data.
Thanks Murtza for your help through all this process.
Jose
Anonymous
Not applicable

Re: "Invalid cookie value" when calling REST API leads

@Jose, I am glad you were able to get this resolved! Thanks for closing the loop.