Hi Typesensible people. I'm getting an error 414 ...
# community-help
l
Hi Typesensible people. I'm getting an error 414 when trying to filter on a large list of values. I'm guessing this is the api request being too long . Is there a way I can avoid this error? (btw. my query works fine if i reduce the number of items in the 'boat_id' list) example query
Copy code
{'q': '',
 'query_by': 'location_name,location_names,operator_name,model_name,manufacturer_raw,name',
 'group_by': 'boat_id',
 'group_limit': 1,
 'sort_by': 'display_rank:desc',
 'exclude_fields': 'possible_start_dates',
 'facet_by': 'location_id,loc0,loc1,loc2,loc3,loc4,loc5,base_price_band,base_price_euro,pd_int,boat_type_choice_id,boat_type_name,operator_name,manufacturer_raw,model_name,key_equipment,length_feet,build_year,min_dur,captained,self_drive,crewed_only,bathrooms,berths,cabins,mainsail_type,genoa_type,feed,display_rank',
 'max_facet_values': 50,
 'per_page': 20,
 'filter_by': 'possible_start_dates:=[2025-05-01]&&min_dur:[>=50400,0]&&boat_id:[41827,41831,41832,41833,41834,41838,41840,41844,41846,41848 ..........a very long list of 1000's elements]',
 'page': 1}