tabby-ai / tabby-android-sdk

4 stars 4 forks source link

MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ #13

Open junaid55555 opened 1 month ago

junaid55555 commented 1 month ago

whenever we try to create session we got this.

com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1659) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1465) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:602) at com.google.gson.stream.JsonReader.peek(JsonReader.java:433) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:378) at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:40) at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:27) at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:246) at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:156) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)

miralgolakiya commented 1 week ago

Any Update here?