This message was deleted.
# community-help
s
This message was deleted.
h
I'm running typesense 0.25.0 in a docker container if that is relevant
k
Check the api response. You can also send ?return_id=true parameter so that id of the record is returned.
h
the API response is just
Copy code
{
  "message": "[json.exception.type_error.302] type must be number, but is array"
}
I found the issue by trial and error but I still think it would be helpful if the response contained the offending field name
k
That's odd. It seems like the exception happens in an unintended place.
Can you please create an example that I can reproduce?
The catch all block has no information about what record could have triggered an exception so the error message is generic.
h
I had an
int32[]
field that I was trying to feed an array of strings.
k
Update or new insert?
h
new insert
And the strings were strings of numbers so something like
Copy code
{
  "intArray": [
    "2",
    "3"
  ]
}
k
Ok thanks for the info, I'll check
👍 1
h
If you need more info to reproduce let me know
k
@Hauke Hinrichs I just tried to recreate this issue on a simple collection but I get a proper error message:
Copy code
{
  "message": "Field `points` must be an array of int32."
}
It will be great if you can post a full example code snippet.
h
I will try to find a minimal reproducible data set
k
Thanks