Open msn2106 opened 3 years ago
Can you try reproducing this when using HttpURLConnection directly?
If it only happens with Volley and not HttpURLConnection, then maybe there's something else we're doing differently. But if it happens with HttpURLConnection, then there is something else that is causing this server to reject the request that you'll need to fix on your side.
same problem
E/Volley: [42916] NetworkUtility.shouldRetryException: Unexpected response code 403 for https://newsapi.org/v2/top-headlines?country=us&category=business&apiKey=271580bf514747cXXXXXXXXXXXXXXXXX
Code for reference: - https://github.com/msn2106/NewsApp/issues/2