This usually happens when the filters value isn’t formatted correctly.
When passing filters in React InstantSearch, make sure the value follows Algolia’s filter syntax:
- Wrap values in quotes if they contain spaces
- Quote values that contain quote characters
- Escape apostrophes when needed
Examples:
<Configure filters="color:'Navy Blue'" />
{
filters: "type:'women\\'s'"
}React InstantSearch forwards these props as Algolia search parameters, so invalid filter syntax can break the request.