Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BasinNetwork.performRequest results "Unexpected response code 403 for"

I have this error:

Volley: [8918] BasicNetwork.performRequest: Unexpected response code 403 for

I'm trying to connect in the serve,r but I can't retrieve anything. When I tried it in a localhost server, it works perfectly.

like image 537
Mark Angelo Bajaro Avatar asked Mar 02 '16 03:03

Mark Angelo Bajaro


2 Answers

Solution worked for me:
Check is that link works in browser.
If yes then, add Header User-Agent: "Mozilla/5.0" to your requests. Sending header example in Stackoverflow
Sory for my bad english

like image 59
Shuhratjon Jumaev Avatar answered Oct 28 '22 17:10

Shuhratjon Jumaev


in C:\wamp64\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf

change

require local

to

Require all granted
like image 2
Mohamed Embaby Avatar answered Oct 28 '22 15:10

Mohamed Embaby