I'm doing a simple GET request using Volley library in Android. Lately I've discovered that in Android 6 (Marshmallow) I always get to the onErrorResponse
callback, there is no error message but the error code is 400.
All my other nearly identical requests work perfectly in Android 6. Only this one is the problematic.
When I paste the request URL into a browser, it works. So the problem is not from server-side.
I also tried adding headers, but that didn't help.