Python API Call Error

Can anyone help me with why I’m getting a 401 Client Error: Unauthorized for this url? It’s telling me there is a missing or invalid bearer token. I got my bearer token just fine, I’ve tried getting a new bearer token and same thing. Here is the request:

headers = {
“Accept”: “application/json”,
“Authorization”: bearer_token
url = ‘
response = requests.get(url, params=headers)
categories = response.json()

Can anyone tell me where I’m going wrong?