Looking for advice on resolving a persistent 403 Forbidden error when attempting to export quality evaluation data via the /api/v2/analytics/quality/evaluations endpoint.
Background
Our AppFoundry integration uses a dedicated service account with the Quality Manager role to automate compliance reporting across multiple tenants.
Issue
The POST request fails immediately with a 403 status code, despite the account having explicit permissions to view and export evaluations in the UI.
Troubleshooting
- Verified the access token is valid and contains the correct
analytics:readscope. - Confirmed the service account has
quality:readandquality:exportpermissions. - Tested with a direct user token, which succeeds, indicating a service account privilege escalation or scope mapping issue.