Download ORAS5: AssertionError

Hello,

I am trying to download ORAS5 data through API request but I get the following error:
AssertionError: The cdsapi key provided is not the correct format, please ensure it conforms to: UID:APIKEY

I have updated the .cdsapirc file with the personal token information requested, in the following format:
url: https://cds.climate.copernicus.eu/api
key: XXX-XXX-XXX-XXX-XXX

Can you please advise how I can solve the issue? Thank you very much in advance.

Below you can find the APIrequest:

import cdsapi

dataset = “reanalysis-oras5”
request = {
“product_type”: [
“consolidated”,
“operational”
],
“vertical_resolution”: “single_level”,
“variable”: [“sea_surface_height”],
“year”: [
“1970”, “1971”, “1972”,
“1973”, “1974”, “1975”,
“1976”, “1977”, “1978”,
“1979”, “1980”
],
“month”: [
“01”, “02”, “03”,
“04”, “09”, “10”,
“11”, “12”
]
}

client = cdsapi.Client()
client.retrieve(dataset, request).download()

Best regards,
Dionysia