title: Volley Error on Api calling
body: <p>Am trying to fetch a result from an api using volley using the following snipet</p>
  
  <pre><code> Set&lt;String&gt; tags= new HashSet&lt;String&gt;()  ;
                  tags.add("geethu");
                  tags.add("gautham");
                  tags.add("gauri");
  
                  JSONObject deviceInfo = new JSONObject();
                  deviceInfo.put("Platform", "gcm");
                  deviceInfo.put("Handle", "handle");
                  deviceInfo.put("Tags", new JSONArray(tags));
  
                      RequestQueue requestQueue = Volley.newRequestQueue(MainActivity.this);
                  JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(
                          Request.Method.POST, "http://172........", deviceInfo,
                          new Response.Listener&lt;JSONObject&gt;() {
                              @Override
                              public void onResponse(JSONObject jsonObject) {
                                  Log.e("Please output",jsonObject.toString());
                              }
                          }, new Response.ErrorListener (){
  
                      @Override
                      public void onErrorResponse(VolleyError volleyError) {
                        //  Log.d(App.TAG,volleyError.toString());
                      }
                  }
                  );
  
                  jsonObjectRequest.setRetryPolicy(new
  
                          DefaultRetryPolicy(60000,
                          DefaultRetryPolicy.DEFAULT_MAX_RETRIES,
                          DefaultRetryPolicy.DEFAULT_BACKOFF_MULT)); 
                      requestQueue.add(jsonObjectRequest);
                  } catch (JSONException e) {
                      e.printStackTrace();
                  }
  </code></pre>
  
  <p>and am getting an output as 
       [8361] BasicNetwork.performRequest: Unexpected response code 500 for <a href="http://domian/" rel="nofollow noreferrer">http://domian/</a>..........</p>
  
  <p>plz help me to find out what I am doing wrong</p>