Forums

Paste.ee error

I am using the paste.ee api in my application but I keep getting the following error:

requests.exceptions.ProxyError: HTTPSConnectionPool(host='api.paste.ee', port=443): Max retries exceeded with url: /v1/pastes (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))

The code works fine on my local machine but I get the above error here. Can somebody help me with this?

We have a help page on that, see: https://help.pythonanywhere.com/pages/403ForbiddenError/.