-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hello , using latest version 2.4.1 and very occasionly I am getting MalformedJsonException error from somewhere inside when parsing response from sailthru API
Wrapped by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 8 path $
at com.google.gson.Gson.assertFullConsumption(Gson.java:1027)
at com.google.gson.Gson.fromJson(Gson.java:1017)
at com.google.gson.Gson.fromJson(Gson.java:959)
at com.google.gson.Gson.fromJson(Gson.java:927)
at com.sailthru.client.handler.JsonHandler.parseResponse(JsonHandler.java:33)
at com.sailthru.client.http.SailthruHandler.handleResponse(SailthruHandler.java:56)
at io.opentelemetry.javaagent.instrumentation.apachehttpclient.v4_0.WrappingStatusSettingResponseHandler.handleResponse(WrappingStatusSettingResponseHandler.java:42)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
at com.sailthru.client.http.SailthruHttpClient.executeHttpRequest(SailthruHttpClient.java:123)
at com.sailthru.client.AbstractSailthruClient.httpRequest(AbstractSailthruClient.java:177)
at com.sailthru.client.AbstractSailthruClient.httpRequestJson(AbstractSailthruClient.java:201)
at com.sailthru.client.AbstractSailthruClient.apiPost(AbstractSailthruClient.java:283)
at com.sailthru.client.SailthruClient.send(SailthruClient.java:115)Metadata
Metadata
Assignees
Labels
No labels