You could consider adding the cdsapi key directly in the script to rule out issues with an old key on your system somewhere, see: Is there elsewhere to put the .cdsapirc file? Running it on Databricks
IF this doesn’t work, could you provide the script you use to kick the request of? Then the input could be more specific (there are some details in how you exactly formulate the request via the client that are vague).