Nik Spyratos
12/04/2025, 8:50 AMField <fieldname> must be an array. . As far as I can tell, an array with values is always being sent through in my payload. The field is not set to optional, but passing empty arrays seems to work locally.
The schema definition from the cluster is:
{
"facet": true,
"index": true,
"infix": false,
"locale": "<foreign locale>",
"name": "fieldname",
"optional": false,
"sort": false,
"stem": false,
"stem_dictionary": "",
"store": true,
"type": "string[]"
},
This is only happening for a small subset of data, and again from inspecting what should be sent through, there definitely is data inside of the field array being passed through.Nik Spyratos
12/04/2025, 8:52 AMunset calls and the indexes were wrong it might cause some weird problem on the typesense side, but checking all the occurrences of the error I'm seeing this for both modified arrays that might have skipped indexes, and unmodified arrays (and again this doesn't seem to cause a problem locally).
Same typesense version between local and the cloud cluster (29)Fanis Tharropoulos
12/04/2025, 8:54 AMNik Spyratos
12/04/2025, 9:00 AMNik Spyratos
12/04/2025, 9:02 AMFanis Tharropoulos
12/04/2025, 9:37 AMNik Spyratos
12/04/2025, 2:04 PMunset seems to cause this. Be sure to look at that first!