In volley library giving com.android.volley.ServerError

后端 未结 6 1497
死守一世寂寞
死守一世寂寞 2021-02-09 05:30

I try to login in my application, when I try to call API using volley library, it\'s giving com.android.volley.ServerError and response code 400.

final String u         


        
6条回答
  •  既然无缘
    2021-02-09 05:54

    I had the same issue. It drained my entire day. Finally, I Found the tiny error, which was that I was passing a null value in parameters.

    Check if you are passing a null value to the server in getParams() or your JSON Object. If yes, that may be the problem.

提交回复
热议问题