404 Client Error: Not found in URL

Hi team, i was trying to extract data but encounter error:

3 frames
HTTPError: 404 Client Error: Not Found for url: https://cds.climate.copernicus.eu/api/resources/reanalysis-era5-pressure-levels

During handling of the above exception, another exception occurred:

Exception Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/cdsapi/api.py in _api(self, url, request, method)
479 )
480 error = ". ".join(e)
→ 481 raise Exception(error)
482 else:
483 raise

Exception: Not Found

How do i rectify?

Hi,
Can you check your .cdsapirc file matches what is shown on the page at Climate Data Store when you are logged into the CDS.

Hi thanks kevin, i solved it myself. The main issue is that i did not tick the license agreement on the dataset webpage.

1 Like