In reply to Xavier Bizoux.

Yes Xavier, I'm running the following code:

python3 update_report.py -u username -p password -sn https://servername -an sas.cli -as "" -i /tmp/reports/report_input.json

And the answer is:

Folder '/Users/username/My Folder' doesn't exist.

I have defined the environment variable id_token with a valid token for the REST-API.

Thanks for your help.