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
urllib2.HTTPError: HTTP Error 503: Service Unavailable #160
Comments
Same Error. |
Nope :( |
@Karlheinzniebuhr - I found the issue. You need to pass
By default, it's Check this file. |
Still raises the same exception. |
T
Thanks @ankurpandeyvns , my code just magically started working again, the only thing I did was to get a new API key and wait a few days. |
I'm getting this error on my gcloud app which runs python 2.7.16
Same error occurs on python 3.7.1 when executing the command line demo of the documentation
>>> amazon.lookup(ItemId='B07MFZY2F2') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\amazon\api.py", line 174, in lookup response = self.api.ItemLookup(ResponseGroup=ResponseGroup, **kwargs) File "C:\Python27\lib\site-packages\bottlenose\api.py", line 274, in __call__ {'api_url': api_url, 'cache_url': cache_url}) File "C:\Python27\lib\site-packages\bottlenose\api.py", line 235, in _call_api return urllib2.urlopen(api_request, timeout=self.Timeout) File "C:\Python27\lib\urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "C:\Python27\lib\urllib2.py", line 435, in open response = meth(req, response) File "C:\Python27\lib\urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "C:\Python27\lib\urllib2.py", line 473, in error return self._call_chain(*args) File "C:\Python27\lib\urllib2.py", line 407, in _call_chain result = func(*args) File "C:\Python27\lib\urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 503: Service Unavailable
The text was updated successfully, but these errors were encountered: