Running a batch job to export OTel spans from Genesys Cloud Data Actions. The access token expires halfway through the loop, causing subsequent API calls to fail with 401. I’m using the Python SDK’s authenticate method but it doesn’t seem to handle refresh tokens automatically for long-running scripts. Is there a way to hook into the token refresh event or should I manually implement a retry loop with POST /api/v2/oauth/token? Here’s the error payload I’m getting: {"errorCode":"unauthorized","message":"Access token expired"}. The job runs for about 15 minutes, well beyond the 3600s token lifetime. Need a code snippet or SDK method to handle this gracefully.