I’m building an application using the OSDK Platform SDK and trying to fetch group permissions for Workshop modules using the ResourceRoles.list() endpoint.
What I’m trying to do: Fetch which groups have access to specific Workshop modules to implement role-based UI filtering in my app.
The Issue: When calling ResourceRoles.list() on a Workshop module RID (e.g., ri.workshop.main.module.xxx), I receive:
- HTTP Status: 404
- Error Response:
{
"errorCode": "UNAUTHORIZED",
"errorName": "MissingCredentials",
"errorInstanceId": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"parameters": {
}
}
Other endpoints like Resources.get(), Resources.getAccessRequirements(), GroupMemberships.list() from foundry.admin work perfectly fine. It’s just ResourceRoles.list() on Workshop modules, projects, datasets (all fail with same error).
I’m wondering if there are additional permissions or scopes required that I’m missing? Any guidance would be appreciated