This message was deleted.
# community-help
s
This message was deleted.
j
Could you follow the exact set of curl commands and post the output here?
Also could you do a GET /debug and verify if you’re indeed running 0.25?
d
Copy code
{
  "state": 1,
  "version": "0.25.0"
}
Copy code
curl "https://{XXXXXXX}.typesense.net/multi_search" \
        -X POST \
        -H "Content-Type: application/json" \
        -H "X-TYPESENSE-API-KEY: {API_KEY}" \
        -d '{
          "searches": [
            {
              "collection": "products_v1",
              "q": "clothes",
              "query_by": "embedding",
              "prefix": false,
              "exclude_fields": "embedding"
            }
          ]
        }'
Output:
Copy code
{
  "results": [
    {
      "code": 400,
      "error": "Field `embedding` should be a string or a string array."
    }
  ]
}
k
Are you trying this on Mac OS?
d
yes
j
Ah I see what's happening.
v0.25.0
has a bug where if an auto-embedding field was added to an existing collection via a schema change, then the auto-embedding doesn't kick-in. We've fixed this issue in
0.25.1.rc4
. Could you upgrade to this and try again? (You might have to drop this field and re-add it back after the upgrade)
d
I noticed that the API went offline during the update. Is this normal?
k
Yes single node cluster needs to be upgraded by taking it offline. HA cluster is rotated node by node so won't affect requests.
d
Upgrading to 0.25.1rc4 fixed the issue, thanks!
👍 1