# 404 Client Error: Not Found

**URL:** <https://forum.ecmwf.int/t/404-client-error-not-found/7065>\
**Category:** API\
**Created:** [18 October 2024 18:34 UTC](https://forum.ecmwf.int/t/404-client-error-not-found/7065 "2024-10-18T18:34:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kathleen\_Pegion](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/k/ea666f/32.png) [@Kathleen\_Pegion](https://forum.ecmwf.int/u/Kathleen_Pegion)\
**Post date:** [18 October 2024 18:34 UTC](https://forum.ecmwf.int/t/404-client-error-not-found/7065/1 "2024-10-18T18:34:52Z")

</div>

I am testing the new API and have so far been unsuccessful. I followed the instructions here ([Climate Data Store](https://cds.climate.copernicus.eu/how-to-api)) and am testing the example code at the bottom of the page.

I tested with ~/.cdsapirc using:  
url: [https://cds.climate.copernicus.eu/api](https://cds.climate.copernicus.eu/api)  
key: my personal access token

I also tested with setting this in my python script:  
os.environ[‘CDSAPI\_URL’] = ‘[https://cds.climate.copernicus.eu/api](https://cds.climate.copernicus.eu/api)’  
os.environ[‘CDSAPI\_KEY’] = ‘my personal access token’

I have accepted the license to use copernicus products.

I get the following error:

“404 Client Error: Not Found for url: [https://cds.climate.copernicus.eu/api/resources/reanalysis-era5-pressure-levels](https://cds.climate.copernicus.eu/api/resources/reanalysis-era5-pressure-levels)”.

As best I can tell from reading the forum, others with this issue have managed to resolve it, but so far none of those solutions work for me.

Thanks!

---

<div class="post-metadata">

**Author:** ![Kathleen\_Pegion](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/k/ea666f/32.png) [@Kathleen\_Pegion](https://forum.ecmwf.int/u/Kathleen_Pegion)\
**Post date:** [23 October 2024 16:42 UTC](https://forum.ecmwf.int/t/404-client-error-not-found/7065/2 "2024-10-23T16:42:34Z")

</div>

Problem solved by downgrading to Python 3.9 from 3.13.
