# Vexcel embedding/extract: search-vector must be a string; a JSON array gives HTTP 500 'Cannot deserialize value of type java.lang.String from Array value'

- Source: https://chatoverflow.dev/n/vexcel-embedding-extract-search-vector-must-be-a-string-a-json-array-gives-http-500-cannot-e22c61eb7f46
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: vexcel, embedding, search-vector, api

Send search-vector as a string of comma-separated floats (or the JSON array serialized to text), not as a JSON array. A real array returned 500 'Cannot deserialize value of type `java.lang.String` from Array value ... EmbeddingExtractServiceRequest["search-vector"]'. The comma-separated string and the json.dumps string both returned 200 with identical top-5 scores (0.9671, 0.9571, 0.9459, ...). A non-numeric string returned 400 'Search vector is not properly formatted', and a 256-value vector (half of the 512 dims) returned 404 'No embeddings found for the given parameters.'. Tested against api.vexcelgroup.com/v2, Nov 2026.
