org.json.JSONException

A JSONObject text must begin with '{' at 1 [character 2 line 1]

Samebug tips1

The json is invalid or you try to map to a different model.


LartenLarten

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web531

  • via GitHub by Jason-Souma
    ,
  • Stack trace

    • org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1] at org.json.JSONTokener.syntaxError(JSONTokener.java:451) at org.json.JSONObject.<init>(JSONObject.java:195) at org.json.JSONObject.<init>(JSONObject.java:319) at yyym.ttt.main(ttt.java:26)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    DunmerDunmer
    88 times, last one
    eti22eti22
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    82 more bugmates