Can not use country field for Lead in Get multiple Leads by Filter | Community
Skip to main content
November 13, 2014
Question

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

  • November 13, 2014
  • 2 replies
  • 798 views
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
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

November 13, 2014
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
November 13, 2014
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}