JSONArray cannot be converted to JSONObject

view story

http://stackoverflow.com – I get following error: Error parsing data org.json.JSONException: Value [] of type org.json.JSONArray cannot be converted to JSONObject Here is the Android and PHP code I have: private void eventUpdatePoint(String eventStatus,int lat,int lon){ JSONParser jsonParserEUP = new JSONParser(); try { List<NameValuePair> params = new ArrayList<NameValuePair>(); params.add(new BasicNameValuePair("longtitude", Integer.toString(lon))); params.add(new BasicNameValuePair("latitude", Integer.toString(lat))); params.ad (HowTos)