**Value <!DOCTYPE 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 Stack Overflow by star_kid57
  • via GitHub by ljsalm089
  • Stack trace

    • org.json.JSONException: **Value <!DOCTYPE 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$JSONTask.doInBackground( at$JSONTask.doInBackground( at android.os.AsyncTask$ at at android.os.AsyncTask$SerialExecutor$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ 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

    Hiren AmaliyarHiren Amaliyar
    36 times, last one
    Unknown UserUnknown User
    38 times, last one
    Indri YunitaIndri Yunita
    4 times, last one
    32 times, last one
    4 times, last one
    78 more bugmates