Have you searched the issues of this repository if your issue is already known? yes/no
Actual behaviour
Attempting to save a new URL results in an error dialog
Expected behaviour
Post is saved
Steps to reproduce the issue
Copy a URL
Share it to Wallabag via Android share intent
See error
Environment details
wallabag app version: 2.4.3
wallabag app installation source (e.g. Gplay, F-Droid, manual): Google play
Android OS version: 13
Android ROM (e.g. stock, LineageOS, SlimRom,…): stock
Android hardware: Pixel 6 pro
wallabag server version: wallabag.it
Do you have Two-Factor-Authentication enabled?: yes/no
Logs
Android log:
Unknown error
com.squareup.moshi.JsonEncodingException: Use JsonReader.setLenient(true) to accept malformed JSON at path $
Stacktrace:
com.squareup.moshi.JsonEncodingException: Use JsonReader.setLenient(true) to accept malformed JSON at path $
at com.squareup.moshi.JsonReader.syntaxError(JsonReader.java:233)
at com.squareup.moshi.JsonUtf8Reader.checkLenient(JsonUtf8Reader.java:1051)
at com.squareup.moshi.JsonUtf8Reader.doPeek(JsonUtf8Reader.java:366)
at com.squareup.moshi.JsonUtf8Reader.peek(JsonUtf8Reader.java:193)
at com.squareup.moshi.JsonAdapter$2.fromJson(JsonAdapter.java:134)
at retrofit2.converter.moshi.MoshiResponseBodyConverter.convert(MoshiResponseBodyConverter.java:45)
at retrofit2.converter.moshi.MoshiResponseBodyConverter.convert(MoshiResponseBodyConverter.java:27)
at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:225)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:188)
at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall.execute(DefaultCallAdapterFactory.java:104)
at wallabag.apiwrapper.TokenRefreshingInterceptor.getAccessToken(TokenRefreshingInterceptor.java:197)
at wallabag.apiwrapper.TokenRefreshingInterceptor.getAccessToken(TokenRefreshingInterceptor.java:147)
at wallabag.apiwrapper.TokenRefreshingInterceptor.intercept(TokenRefreshingInterceptor.java:81)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:188)
at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall.execute(DefaultCallAdapterFactory.java:104)
at wallabag.apiwrapper.WallabagService.execAndCheckBody(WallabagService.java:1499)
at wallabag.apiwrapper.WallabagService.addArticle(WallabagService.java:236)
at wallabag.apiwrapper.AddArticleBuilder.execute(AddArticleBuilder.java:73)
at fr.gaulupeau.apps.Poche.service.workers.OfflineChangesSynchronizer.addLink(OfflineChangesSynchronizer.java:252)
at fr.gaulupeau.apps.Poche.service.workers.OfflineChangesSynchronizer.syncOfflineQueue(OfflineChangesSynchronizer.java:146)
at fr.gaulupeau.apps.Poche.service.workers.OfflineChangesSynchronizer.synchronize(OfflineChangesSynchronizer.java:68)
at fr.gaulupeau.apps.Poche.service.tasks.SyncOfflineChangesTask.run(SyncOfflineChangesTask.java:17)
at fr.gaulupeau.apps.Poche.service.tasks.ActionRequestTask.run(ActionRequestTask.java:25)
at fr.gaulupeau.apps.Poche.service.-$$Lambda$0cveUIqKhxWljSld0gpOhfhYfj0.run(Unknown Source:2)
at fr.gaulupeau.apps.Poche.service.TaskService.run(TaskService.java:162)
at fr.gaulupeau.apps.Poche.service.TaskService.lambda$PgumDII_lptJcUDKRD70B1M_ER8(Unknown Source:0)
at fr.gaulupeau.apps.Poche.service.-$$Lambda$TaskService$PgumDII_lptJcUDKRD70B1M_ER8.run(Unknown Source:2)
at java.lang.Thread.run(Thread.java:1012)
wallabag server
Using wallabag.it
Your experience with wallabag Android app
Yes, working great for several years, keep up the excellent work 👏🏽
Issue details
Duplicate?
Have you searched the issues of this repository if your issue is already known? yes/no
Actual behaviour
Attempting to save a new URL results in an error dialog
Expected behaviour
Post is saved
Steps to reproduce the issue
Environment details
Logs
Android log:
wallabag server
Using wallabag.it
Your experience with wallabag Android app
Yes, working great for several years, keep up the excellent work 👏🏽