all 6 comments

sorted by: hot top controversial new old
[–] 55 points 3 years ago (2 children)

That's your Android app that's broken. Lemmy is written in Rust, not Java, and fails in all sorts of other ways instead.

  • source
  • hideshow 4 child comments
  • [–] 22 points 3 years ago

    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.

  • source
  • parent
  • [–] 14 points 3 years ago

    But Lemmy’s codebase is in Rust. That’s a Java error, so I suspect that’s an Android app error.

  • source
  • [–] 3 points 3 years ago

    Value of type java.lang.String cannot be convereted to JSONObject

  • source
  • [–] 2 points 3 years ago

    This post officer, right here

  • source