org.json.JSONException

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


Solutions on the web1102

Solution icon of github
via GitHub by falmon
, 11 months ago
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of github
via GitHub by twbutler
, 1 year ago
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of github
via GitHub by netman1221
, 1 year ago
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of github
via GitHub by jsql-robot
, 1 week ago
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of github
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of github
via GitHub by doug-hahn
, 1 year ago
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of stackoverflow
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of stackoverflow
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of web
A JSONObject text must begin with '{' at 1 [character 2 line 1]

Solution icon of web
via redmine.org by Unknown author, 1 year ago
A JSONObject text must begin with '{' at 1 [character 2 line 1]

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 me.checkium.vhackapi.vHackAPI.getStats(vHackAPI.java:52) at me.checkium.vhackapi.vHackAPI.<init>(vHackAPI.java:81) at me.checkium.vhackapi.vHackAPIBuilder.getAPI(vHackAPIBuilder.java:55) at examples.ConsoleExample.main(ConsoleExample.java:10)

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

88 times, 4 months ago
3 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
82 more bugmates