org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by rajkotraja
, 8 months ago
Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
via Stack Overflow by star
, 6 months ago
via GitHub by danieloprado
, 1 year ago
Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
via GitHub by enchev
, 1 year ago
Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
via GitHub by danieloprado
, 1 year ago
Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
via GitHub by leitonghu
, 6 months ago
Value live_100006 of type java.lang.String cannot be converted to JSONObject
org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
at org.json.JSON.typeMismatch(JSON.java:111)
at org.json.JSONObject.(JSONObject.java:160)
at org.json.JSONObject.(JSONObject.java:173)
at com.ifreedom.StatusActivity$CheckVersion.onPostExecute(StatusActivity.java:497)
at com.ifreedom.StatusActivity$CheckVersion.onPostExecute(StatusActivity.java:1)
at android.os.AsyncTask.finish(AsyncTask.java:651)

Users with the same issue

182 times, 2 months ago
59 times, 2 months ago
10 times, 3 months ago
59 times, 5 months ago
157 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.