403 forbidden error
diyaraik at gmail.com
diyaraik at gmail.com
Wed Oct 22 07:36:47 EDT 2014
Hai,
Could anyone please help me to resolve 403 forbidden error while logging into an application.
Following is the error details:
Traceback (most recent call last):
File "./example6.py", line 18, in <module>
response = urllib2.urlopen(req)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: FORBIDDEN
Sorry if the question is not relevant as im new to python.
Regards,
Diya
More information about the Python-list
mailing list