Maybe set your file as follows:
url: https://cds-beta.climate.copernicus.eu/api
key: [key here]
The inclusion of your UID within the .cdsapirc file is gone for the CDS-beta system. In the past you indeed needed to list both user id & key, now just the key.
The old one looked like:
But the new one looks like: