I'm trying to get the lead information for the current user in a website, using this REST API:
Get Multiple Leads By Filter TypeI have the right authentication token ( I am able to call other entries, i.e. /lead/{id}.json ) but whenever I call the "leads" resource with filterType=cookie&filterValues=xxxxxxxxxxxxxx I get a JSON error response with this value in the message property:
Invalid cookie value 'id:561-HYG-937&token:_mch-marketo.com-1415884534947-30230'
I have encoded the '&' inside the cookie value as %26, and it is reaching the API correctly. The value stated in the error message matches exactly the value of my _mkto_trk cookie on the 'marketo.com' domain.
Any clue on what I may be doing wrong?
Thanks in advance
Jose