# Cannot find data set error

**URL:** <https://forum.ecmwf.int/t/cannot-find-data-set-error/11647>\
**Category:** CAMS - Access and Login\
**Tags:** european\_forecast\
**Created:** [27 February 2025 09:33 UTC](https://forum.ecmwf.int/t/cannot-find-data-set-error/11647 "2025-02-27T09:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![haoliang\_chen](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/h/ac91a4/32.png) [@haoliang\_chen](https://forum.ecmwf.int/u/haoliang_chen)\
**Post date:** [27 February 2025 09:33 UTC](https://forum.ecmwf.int/t/cannot-find-data-set-error/11647/1 "2025-02-27T09:33:50Z")

</div>

Hi, I’m trying to use ADS data, I have save the right ADS url and key in the .cdsapirc file and reinstall cdsapi.

But each time when query the data, it seems that the error messages still direct to link to cds link.

error message below:

* * *

HTTPError Traceback (most recent call last)  
Cell In[1], line 14  
4 request = {  
5 “variable”: [“dust”],  
6 “model”: [“ensemble”],  
(…)  
10 “month”: [“01”]  
11 }  
13 client = cdsapi.Client()  
—\> 14 client.retrieve(dataset, request).download()

File c:\Data\_Science\_software\anaconda3\envs\ECMWF\_ADS\Lib\site-packages\datapi\legacy\_api\_client.py:169, in LegacyApiClient.retrieve(self, name, request, target)  
167 submitted: Remote | Results  
168 if self.wait\_until\_complete:  
 → 169 submitted = self.client.submit\_and\_wait\_on\_results(  
170 collection\_id=name,  
171 request=request,  
172 )  
173 else:  
174 submitted = self.client.submit(  
175 collection\_id=name,  
176 request=request,  
177 )

File c:\Data\_Science\_software\anaconda3\envs\ECMWF\_ADS\Lib\site-packages\datapi\api\_client.py:413, in ApiClient.submit\_and\_wait\_on\_results(self, collection\_id, request)  
397 def submit\_and\_wait\_on\_results(  
398 self, collection\_id: str, request: dict[str, Any]  
399 ) → datapi.Results:  
400 “”“Submit a request and wait for the results to be ready.  
401  
402 Parameters  
(…)  
411 datapi.Results  
412 “””  
 → 413 return self.\_retrieve\_api.submit(collection\_id, request).make\_results()

File c:\Data\_Science\_software\anaconda3\envs\ECMWF\_ADS\Lib\site-packages\datapi\processing.py:727, in Processing.submit(self, collection\_id, request)  
726 def submit(self, collection\_id: str, request: dict[str, Any]) → Remote:  
 → 727 return self.get\_process(collection\_id).submit(request)

File c:\Data\_Science\_software\anaconda3\envs\ECMWF\_ADS\Lib\site-packages\datapi\processing.py:319, in Process.submit(self, request)  
307 def submit(self, request: dict[str, Any]) → datapi.Remote:  
308 “”“Submit a request.  
309  
310 Parameters  
(…)  
317 datapi.Remote  
318 “””  
 → 319 job = Job.from\_request(  
320 “post”,  
321 f"{self.url}/execution",  
322 json={“inputs”: request},  
323 \*\*self.\_request\_kwargs,  
324 )  
325 return job.make\_remote()

File c:\Data\_Science\_software\anaconda3\envs\ECMWF\_ADS\Lib\site-packages\datapi\processing.py:177, in ApiResponse.from\_request(cls, method, url, headers, session, retry\_options, request\_options, download\_options, sleep\_max, cleanup, log\_callback, log\_messages, \*\*kwargs)  
172 response = robust\_request(  
173 method, url, headers=headers, \*\*request\_options, \*\*kwargs  
174 )  
175 log(logging.DEBUG, f"REPLY {response.text}", callback=log\_callback)  
 → 177 cads\_raise\_for\_status(response)  
179 self = cls(  
180 response,  
181 headers=headers,  
(…)  
188 log\_callback=log\_callback,  
189 )  
190 if log\_messages:

File c:\Data\_Science\_software\anaconda3\envs\ECMWF\_ADS\Lib\site-packages\datapi\processing.py:100, in cads\_raise\_for\_status(response)  
93 else:  
94 message = “\n”.join(  
95 [  
96 f"{response.status\_code} Client Error: {response.reason} for url: {response.url}",  
97 error\_json\_to\_message(error\_json),  
98 ]  
99 )  
 → 100 raise requests.HTTPError(message, response=response)  
101 response.raise\_for\_status()

HTTPError: 404 Client Error: Not Found for url: [https://cds.climate.copernicus.eu/api/retrieve/v1/processes/cams-europe-air-quality-reanalyses/execution](https://cds.climate.copernicus.eu/api/retrieve/v1/processes/cams-europe-air-quality-reanalyses/execution)  
process not found  
dataset cams-europe-air-quality-reanalyses not found

---

<div class="post-metadata">

**Author:** ![Michela](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@Michela](https://forum.ecmwf.int/u/Michela)\
**Post date:** [27 February 2025 10:09 UTC](https://forum.ecmwf.int/t/cannot-find-data-set-error/11647/2 "2025-02-27T10:09:07Z")

</div>

Hi,  
the url you are using is not correct for the ADS:

> [@haoliang\_chen](#):
>
> HTTPError: 404 Client Error: Not Found for url: [https://cds.climate.copernicus.eu/api/retrieve/v1/processes/cams-europe-air-quality-reanalyses/execution](https://cds.climate.copernicus.eu/api/retrieve/v1/processes/cams-europe-air-quality-reanalyses/execution)

Please check here the right url: [CDSAPI setup - Atmosphere Data Store](https://ads.atmosphere.copernicus.eu/how-to-api)

Thanks

---

<div class="post-metadata">

**Author:** ![haoliang\_chen](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/h/ac91a4/32.png) [@haoliang\_chen](https://forum.ecmwf.int/u/haoliang_chen)\
**Post date:** [28 February 2025 01:45 UTC](https://forum.ecmwf.int/t/cannot-find-data-set-error/11647/3 "2025-02-28T01:45:41Z")

</div>

Hi Michela,

Thank you for your quick support. I’m aware the url is directed to cds. But that’s the problem I’m facing. I have saved the right ADS url (at the bottom of this message) and key in the .cdsapirc file (at least I think so). however, it seems the api call still use the cds url and cannot use what is saved in the .cdsapirc file.

url: [https://ads.atmosphere.copernicus.eu/api](https://ads.atmosphere.copernicus.eu/api)

Thank you.
