You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: