Re: Can not use country field for Lead in Get multiple Leads by Filter

Anonymous
Not applicable

Can not use country field for Lead in Get multiple Leads by Filter

I am trying to download data using REST API
I can not get leads in get_multiple_leads_by_filter query using field country as filter
As respond I get 1011 error. 
What is the problem? Where can I get errors descriptions?
Finally i tried same query but used filed country111(not exsisting field) as filter. 
The respond was 1006 error
 
Tags (1)
2 REPLIES 2
Anonymous
Not applicable

Re: Can not use country field for Lead in Get multiple Leads by Filter

Can you post your request here?

Here's an example:
https://AAA-BBB-CCC.mktorest.com/rest/v1/leads.json?filterType=country&filterValues=France&access_token=ac756f7a-d54d-41ac-8c3c-f2d2a39ee325:ab
Anonymous
Not applicable

Re: Can not use country field for Lead in Get multiple Leads by Filter

Sure. Here is my request
https://***-***-***.mktorest.com/rest/v1/leads.json?access_token=f1e4dbfc-7f39-4016-a832-57bcffa4daee%3Aab&fields=email&filterValues=Germany&filterType=country
here is the reply
{u'errors': [{u'code': u'1011',
   u'message': u"Lookup field 'country' not supported"}],
 u'requestId': u'fa19#149aac48b50',
 u'success': False}