BYOC Edge proxy rejecting cached OAuth tokens on /v2/analytics/details/interactions

The platform API call doesn’t behave right after the TTL expires, even though the refresh endpoint is returning 200. Console throws redis.exceptions.ResponseError: OOM command not allowed when used memory > maxmemory but the BYOC cluster actually has 8GB free. Why’s the cache layer rejecting the SETEX on a fresh token rotation?

token = redis.get(f'gc:oauth:{org_id}')
if not token:
 token = requests.post(f'{edge_url}/oauth/token', data=payload).json()
 redis.setex(f'gc:oauth:{org_id}', 3500, token)
client = PureCloudPlatformClientV2(platformClient)
token = client.auth_api.login_client_credentials(client_id, client_secret, 'urn:genesys:platform:api')

Are you routing that redis.setex through a VPC endpoint? PureCloudPlatformClientV2 handles token rotation via login_client_credentials, so you’re smashing the BYOC proxy with stale access_token payloads. Switch to the Notification API webhook listener instead.