Error: [400] Filters contains an invalid set of keys for object inside of field: filters root; can only have clauses or a single field name

When applying one filter you can use the shorthand syntax as you have above.

When applying multiple filters, you need to use the full filter syntax documented here: https://swiftype.com/documentation/app-search/api/search/filters#combining-filters

"filters": {
  "all": [
    { "brand": ["brand1"] },
    { "price": ["price1"] }
  ]
]}
2 Likes