What language is this?
Is this Python and requests?
The quick start docs
https://requests.readthedocs.io/en/master/user/quickstart/
Says you have formatted your request wrong
helix_r = requests.get(helix_url, headers, timeout = 15)
should be
helix_r = requests.get(helix_url, headers=headers, timeout = 15)
I believe