Open phillipmohr opened 5 months ago
19
I want to filter leads by id or field_data but I'm getting An unknown error has occurred.
id
field_data
An unknown error has occurred.
const params = { // trying to filter a specific lead id 'filtering' : [{'field':'id','operator':'EQUAL','value':'123456'}], }; const leadgenFormLeads = await (new LeadgenForm(form.id)).getLeads([ Lead.Fields.campaign_name, Lead.Fields.created_time, Lead.Fields.field_data, Lead.Fields.form_id ], params).then((result) => result.map((lead) => lead._data))
Which SDK version are you using?
19
What's the issue?
I want to filter leads by
id
orfield_data
but I'm gettingAn unknown error has occurred.
Steps/Sample code to reproduce the issue
Expected Results: