401 Unauthorized after token refresh despite synced clocks

Problem
It’s throwing 401 Unauthorized right after api_client.refresh_token(). The fresh token prints out clean. Calls to get_users die instantly though.

Code

api_client.refresh_token()
users.get_users()

Error
401 Unauthorized: JWT expired

NTP is locked tight. Server time matches Genesys within 50ms. We don’t get this with static tokens. SDK might be checking exp too hard.