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
com.algolia.search.exceptions.AlgoliaException: Error while deserialization the response
at com.algolia.search.http.AlgoliaHttpClient.requestWithRetry(AlgoliaHttpClient.java:173)
at com.algolia.search.APIClient.addObject(APIClient.java:698)
at com.algolia.search.SyncObjects.addObject(SyncObjects.java:34)
at com.algolia.search.SyncObjects.addObject(SyncObjects.java:22)
at eu.newsapp.backend.algolia.AlgoliaKt.publishToAlgolia(algolia.kt:61)
at eu.newsapp.backend.daemon.DaemonKt.execDaemon(daemon.kt:167)
at eu.newsapp.backend.daemon.DaemonKt.access$execDaemon(daemon.kt:1)
at eu.newsapp.backend.daemon.DaemonKt$startDaemon$$inlined$fixedRateTimer$1.run(Timer.kt:151)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "position" (class com.algolia.search.responses.AlgoliaError), not marked as ignorable (one known property: "message"])
at [Source: (InputStreamReader); line: 1, column: 121] (through reference chain: com.algolia.search.responses.AlgoliaError["position"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:822)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1152)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1582)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1560)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3051)
at com.algolia.search.Utils.parseAs(Utils.java:54)
at com.algolia.search.http.AlgoliaHttpClient.requestWithRetry(AlgoliaHttpClient.java:150)
... 9 more
Description
Steps To Reproduce
Use this code:
https://gerogit.eu/eunify/backend/blob/master/src/eu/newsapp/backend/algolia/algolia.kt#L61-79
The text was updated successfully, but these errors were encountered: