# HTTPError: 400 Client Error: Bad Request for url: ... invalid request Request has not produced a valid combination of values, please check your selection. site:forum.ecmwf.int site:forum.ecmwf.int

**URL:** <https://forum.ecmwf.int/t/httperror-400-client-error-bad-request-for-url-invalid-request-request-has-not-produced-a-valid-combination-of-values-please-check-your-selection-site-forum-ecmwf-int-site-forum-ecmwf-int/10288>\
**Category:** Datasets and Usage\
**Tags:** api, cds, era5\
**Created:** [16 December 2024 10:04 UTC](https://forum.ecmwf.int/t/httperror-400-client-error-bad-request-for-url-invalid-request-request-has-not-produced-a-valid-combination-of-values-please-check-your-selection-site-forum-ecmwf-int-site-forum-ecmwf-int/10288 "2024-12-16T10:04:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyriaki\_Psistaki](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@Kyriaki\_Psistaki](https://forum.ecmwf.int/u/Kyriaki_Psistaki)\
**Post date:** [16 December 2024 10:04 UTC](https://forum.ecmwf.int/t/httperror-400-client-error-bad-request-for-url-invalid-request-request-has-not-produced-a-valid-combination-of-values-please-check-your-selection-site-forum-ecmwf-int-site-forum-ecmwf-int/10288/1 "2024-12-16T10:04:04Z")

</div>

Hello,

I am trying to retrieve data from CDS with the API with following error:

> **HTTPError** : 400 Client Error: Bad Request for url: [https://cds.climate.copernicus.eu/api/retrieve/v1/processes/projections-cordex-domains-single-levels/execution](https://cds.climate.copernicus.eu/api/retrieve/v1/processes/projections-cordex-domains-single-levels/execution) invalid request. Request has not produced a valid combination of values, please check your selection.  
> {‘domain’: ‘europe’, ‘experiment’: ‘historical’, ‘horizontal\_resolution’: ‘0\_11\_degree\_x\_0\_11\_degree’, ‘temporal\_resolution’: ‘daily\_mean’, ‘variable’: ‘maximum\_2m\_temperature\_in\_the\_last\_24\_hours’, ‘gcm\_model’: ‘cnrm\_cerfacs\_cm5’, ‘rcm\_model’: ‘clmcom\_clm\_cclm4\_8\_17’, ‘ensemble\_member’: ‘r1i1p1’, ‘start\_year’: [‘1971’, ‘1976’, ‘1981’, ‘1986’, ‘1991’, ‘1996’, ‘2001’], ‘end\_year’: [‘1975’, ‘1980’, ‘1985’, ‘1990’, ‘1995’, ‘2000’, ‘2005’]}

I use this code:

```auto
gcm_model = 'cnrm_cerfacs_cm5'  
rcm_model = 'clmcom_clm_cclm4_8_17' 

# Define zip file's absolute path
zip_path = os.path.join(data_dir, 'eurocordex_daily_t2m_eurmax_1971_2005.zip')

# Download the data for the selected time-period and RCP
c.retrieve(
    'projections-cordex-domains-single-levels',
    {
        'format': 'zip',
        'domain': 'europe',
        'experiment': 'historical',
        'horizontal_resolution': '0_11_degree_x_0_11_degree',
        'temporal_resolution': 'daily_mean',
        'variable': 'maximum_2m_temperature_in_the_last_24_hours',
        'gcm_model': gcm_model,
        'rcm_model': rcm_model,
        'ensemble_member': 'r1i1p1',
        'start_year': [
            '1971', '1976', '1981', '1986', '1991', '1996', '2001', 
        ],
        'end_year': [
            '1975', '1980', '1985', '1990', '1995', '2000', '2005',
        ],
    },
    zip_path)

# Unzip the downloaded files so they are ready for computing 
with zipfile.ZipFile(zip_path, 'r') as zObject:
    zObject.extractall(path=data_dir)

# Remove the downloaded zip file after unpacking
os.remove(zip_path)

```

I have already downloaded data dor other combinations of GCM-RCM. I have also checked from _[CORDEX-CMIP5 Simulations – Cordex](https://cordex.org/data-access/cordex-cmip5-data/cordex-cmip5-simulations/)_ that the combination of GCM-RCM I choose is valid for my region.

Requesting support on this issue.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Kevin\_Marsh](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/kevin_marsh/32/368_2.png) [@Kevin\_Marsh](https://forum.ecmwf.int/u/Kevin_Marsh)\
**Post date:** [16 December 2024 10:08 UTC](https://forum.ecmwf.int/t/httperror-400-client-error-bad-request-for-url-invalid-request-request-has-not-produced-a-valid-combination-of-values-please-check-your-selection-site-forum-ecmwf-int-site-forum-ecmwf-int/10288/2 "2024-12-16T10:08:53Z")

</div>

Hi,  
is your request a valid combination from [https://cds.climate.copernicus.eu/datasets/projections-cordex-domains-single-levels?tab=download](https://cds.climate.copernicus.eu/datasets/projections-cordex-domains-single-levels?tab=download) ? The RCM you selected does not seem to be available from the download form.
