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
I caught exception when I was trying to send request to elasticsearch:
de.otto.flummi.InvalidElasticsearchResponseException: Invalid reply from Elastic Search: {"acknowledged":true} at de.otto.flummi.request.CreateIndexRequestBuilder.execute(CreateIndexRequestBuilder.java:59)
JsonObject responseObject = gson.fromJson(jsonString, JsonObject.class);
This line could not deserialize string "{"acknowledged":true}"
But this can JsonElement element = gson.fromJson (jsonString, JsonElement.class); JsonObject responseObject = gson.element.getAsJsonObject();
Could you make a fix and upload jar file to manen?
Thanks!
The text was updated successfully, but these errors were encountered:
But I found the same problem with flummi-5.0.24 and elasticsearch-5.2.0 Invalid reply from Elastic Search: {"acknowledged":true,"shards_acknowledged":true}
Hi
I caught exception when I was trying to send request to elasticsearch:
de.otto.flummi.InvalidElasticsearchResponseException: Invalid reply from Elastic Search: {"acknowledged":true} at de.otto.flummi.request.CreateIndexRequestBuilder.execute(CreateIndexRequestBuilder.java:59)
JsonObject responseObject = gson.fromJson(jsonString, JsonObject.class);
This line could not deserialize string "{"acknowledged":true}"
But this can
JsonElement element = gson.fromJson (jsonString, JsonElement.class); JsonObject responseObject = gson.element.getAsJsonObject();
Could you make a fix and upload jar file to manen?
Thanks!
The text was updated successfully, but these errors were encountered: