-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Hi,
We are facing an AlgoliaClientException when trying to search data containing userData as an Array.
In SearchResponse.kt, userData is a JsonObject but in the documentation it is supposed to be an Array.
In the CHANGELOG/release notes of 3.0.0-beta1, there is a fix about it but with no changes in the type :
b7b6565ab fix(specs): userData type as 'any' (algolia/api-clients-automation#2033) by @aallam
Stack :
Illegal input: Expected JsonObject, but had JsonArray as the serialized body of kotlin.collections.LinkedHashMap at element: userData
JSON input:
"userData": [
{
"banners": [
{
"cid": "XXX"
}
]
}
],
Thanks for advance,
Client
Search
Version
3.6.0
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working