I'm writing a Python script that runs a series of reports daily. So far, the script successfully runs the report, waits for it to finish, then stores the link to the file in a variable called fileURL. When I run the following request:
response = requests.get(fileURL, headers = headers)
I get the following error:
{"status":"unauthenticated","errors":[{"message":"user authorization required"}]}
I've included the access token as a parameter of the request header, so how can I authenticate this request?