Using Copernicus API gives error on PythonAnywhere

Hi, I am using the Python API to access the Copernicus Climate Data Store (CDS) ( to access cams-global-atmospheric-composition-forecasts data, but it gives me the following error when using PythonAnywhere:

WARNING Connection error: [HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /api/v2/resources/cams-global-atmospheric-composition-forecasts (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 403 Forbidden')))]. Attempt 1 of 500.

This does not happen on my local machine. Any solution?

Free accounts have restricted internet access -- have a look at this help page for more details.

Thank you, I just found out that this Copernicus API is not on the allowlist, so I requested to add.