The genesyscloud.platformsdkpython client isn’t auto-refreshing the access token when a 401 hits. I have refresh_access_token set to True in the config, but the SDK just throws the ApiException instead of retrying. Here’s the setup:
from genesyscloud.platformsdkpython import Configuration
config = Configuration(
client_id=os.environ['GC_CLIENT_ID'],
client_secret=os.environ['GC_CLIENT_SECRET'],
refresh_access_token=True,
base_url="https://api.mypurecloud.com"
)
Is there a separate interceptor I need to register for this to work, or is the default behavior broken for Python v13.3.0?