Genesys Cloud Python SDK auto-refresh token failing

Traceback (most recent call last):
File “report.py”, line 42, in
response = client.get_queue_realtime_stats(queue_id)
genesyscloud.platform.client.exceptions.ApiException: (401)

I’ve got a script running in US/Central to pull adherence data. The token expires after an hour and I expected the SDK to handle the refresh automatically since I passed the client_id and secret. It just bombs out with a 401 instead. Do I need to manually call refresh_token or is there a config flag I’m missing? I tried setting auto_refresh=True but it didn’t help.