ERA5 query works but download fails 400 Client Error: Bad Request

Hello,

I am trying to download ERA5 data using the Python API. Every time, my request is successful but I get a bad request error when trying to downloading the data.
I tried the examples and the API request generated automatically and I get the same result.
HTTPError: 400 Client Error: Bad Request for url: https://object-store.os-api.cci2.ecmwf.int:443/cci2-prod-cache-3/2025-05-12/edbec49bb8bd15d474f12d2f5befacf.grib
I can download the data from the web interface or even using urllib.request
I am not sure what I am doing wrong.
I am using Python 3.9, and I have install cdsapi 0.7.5 with the conda-forge
Thanks for your help



image