That's your Android app that's broken. Lemmy is written in Rust, not Java, and fails in all sorts of other ways instead.
this post was submitted on 04 Jul 2023
136 points (100.0% liked)
196
16591 readers
2176 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
Yup, very likely that.
My crystal ball says that your client is trying to parse the response of a failed request as it was a successful one.
A successful request would return a valid JSON object, while a failed on would probably return an error message.
Report a bug with your client devs saying that they should check that request's status code says it's successful before trying to parse its response as JSON.
lemmy itself is clearly trying to tell the user “hey, at least i’m not written in java”
But Lemmy’s codebase is in Rust. That’s a Java error, so I suspect that’s an Android app error.
Value of type java.lang.String cannot be convereted to JSONObject