Invalid authentication credentials when going through python cdk: creating a https api source

I am following the tutorial to create a https api source and I am reaching an error where it says Invalid authentication credentials when inputting:
python3 main.py read --config secrets/config.json --catalog sample_files/configured_catalog.json

I followed the steps detailed in the tutorial so far so I don’t know what is going on.