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!

i'm still getting this proxy error ...same host 'api.thingspeak.com'

I just checked that I can access api.thingspeak.com over http and https on a free account. How are you getting this proxy error?