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

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web610

  • via Unknown by Unknown author,
  • via Stack Overflow by Paul Trueman
  • Stack trace

    • org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONObject at org.json.JSON.typeMismatch( at org.json.JSONObject.<init>( at org.json.JSONObject.<init>( at com.example.sapp_nikki.stocktake.StockInPartNo$1$1.onResponse( at com.example.sapp_nikki.stocktake.StockInPartNo$1$1.onResponse( at at at$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$

    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, last one
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Hiren AmaliyarHiren Amaliyar
    36 times, last one
    Unknown UserUnknown User
    38 times, last one
    78 more bugmates