Data Action returns 500 when fetching SIP trunk metrics

“Internal Server Error” during POST to /api/v2/analytics/data/actions. The flow triggers a custom Data Action to aggregate BYOC trunk usage stats. Logs show the action fails at the authentication step. Environment: Genesys Cloud EU, Asia/Singapore region. Using SDK v2.1. Verified the OAuth token has analytics:read scope. The same query works in the UI. Is there a known limitation with Data Actions accessing trunk-level metrics?