Forums

Whitelist Amazon API

I'm transitioning from Heroku to PythonAnywhere but I am unable to use Amazon's Product Advertising API, can you please whitelist it? https://webservices.amazon.com/paapi5/documentation/

Error:

WARNING Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff9743a25f0>: Failed to establish a new connection: [Errno 111] Connection refused')':

That is already on the whitelist, but you need to configure the library that you are using to use the proxy. Check the documentation of the library to find out how to do that. The details you need are here: https://help.pythonanywhere.com/pages/403ForbiddenError/