org.json.JSONException

Value <br of type java.lang.String cannot be converted to JSONObject

Solutions on the web1426

  • via Stack Overflow by Paul Trueman
    , 1 year ago
    Value <br of type java.lang.String cannot be converted to JSONObject
  • Value <br of type java.lang.String cannot be converted to JSONObject
  • via Stack Overflow by Cheng Wei Feng
    , 7 months ago
    Value <br of type java.lang.String cannot be converted to JSONObject
  • Stack trace

    • org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONObject at org.json.JSON.typeMismatch(JSON.java:111) at org.json.JSONObject.<init>(JSONObject.java:160) at org.json.JSONObject.<init>(JSONObject.java:173) at com.example.luke.xyz.edit_information$6.onResponse(edit_information.java:329) at com.example.luke.xyz.edit_information$6.onResponse(edit_information.java:322) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:60) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:30) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:7325) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

    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

    19 times, 6 months ago
    4 times, 9 months ago
    Unknown user
    Once, 1 year ago
    36 times, 3 weeks ago
    38 times, 1 month ago
    78 more bugmates