Genesys Cloud Python SDK: 403 Forbidden when fetching analytics intervals for S3 export

Running a daily cron job to pull conversation/metrics analytics via the Genesys Cloud Python SDK and push to S3 using boto3. The script works fine for general reporting but throws a 403 Forbidden specifically when querying interval data for the last 30 days. We’ve verified the OAuth token has analytics:read scope. Here’s the chunk failing:

analytics_api = gen_api.AnalyticsApi(api_client)
body = gen_api.AnalyticsGetConversationMetricsRequest(
 group_by=['queueId'],
 interval='PT1H',
 view='conversation'
)
response = analytics_api.post_analytics_conversations_metrics(body)
  • Environment: Python 3.9, genesys-cloud-python v1.0.22
  • Error: genesys_cloud_python.client.exceptions.ApiException: (403)
  • Tried: Switching to genesyscloud v2.0 SDK, same result.

Any idea why interval queries are blocked while summary views work?