Open LaysDragon opened 10 months ago
Using the same thing searchSingleIndex, passing offset & length but getting a different error about 'page' missing. Page should not be required if using offset & length
com.algolia.client.exception.AlgoliaClientException: Illegal input: Key page is missing in the map.
at com.algolia.client.exception.internal.ThrowableKt.asClientException(Throwable.kt:10)
at com.algolia.client.transport.internal.KtorRequester.onError(KtorRequester.kt:109)
at com.algolia.client.transport.internal.KtorRequester.execute(KtorRequester.kt:74)
at com.algolia.client.transport.internal.KtorRequester$execute$1.invokeSuspend(Unknown Source:14)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
Caused by: io.ktor.serialization.JsonConvertException: Illegal input: Key page is missing in the map.
When passing offset,length parameter into searchSingleIndex ,the response have different data then what decoder expect causing error.