PythonAnywhere Forums

Proxy error when using requests in Pythonanywhere

i am trying to access the api.thingspeak using requests

but it is showing error HTTPSConnectionPool(host='api.thingspeak.com', port=443): Max retries exceeded with url: /channels/329078/feeds.json?results=2 (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 403 Forbidden',)))

api docs are https://in.mathworks.com/help/thingspeak/

api links https://api.thingspeak.com

strong text

OK, api.thingspeak.com is now whitelisted.

It is working. Thanks a lot :-).

Thanks for confirming!