If I then try again with just: ```{ "fields":...
# community-help
t
If I then try again with just:
Copy code
{
  "fields": [
    {
      "facet": false,
      "index": true,
      "infix": false,
      "locale": "",
      "name": "productId",
      "optional": true,
      "sort": false,
      "type": "string",
      "reference": "products._id"
    }
  ]
}
I get:
Copy code
{
  "message": "There are duplicate field names in the schema."
}