Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E/Volley: [42916] NetworkUtility.shouldRetryException: Unexpected response code 403 #415

Open
msn2106 opened this issue Jun 9, 2021 · 2 comments

Comments

@msn2106
Copy link

msn2106 commented Jun 9, 2021

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: - msn2106/NewsApp#2

@jpd236
Copy link
Collaborator

jpd236 commented Jun 9, 2021

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.

@fihad247
Copy link

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants