# "errorCode":"E0000006","errorSummary":"You do not have permission to perform the requested action"

**URL:** <https://devforum.okta.com/t/errorcode-e0000006-errorsummary-you-do-not-have-permission-to-perform-the-requested-action/33820>\
**Category:** API\
**Tags:** o4o\
**Created:** [July 1, 2025, 6:22am UTC](https://devforum.okta.com/t/errorcode-e0000006-errorsummary-you-do-not-have-permission-to-perform-the-requested-action/33820 "2025-07-01T06:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shireesha](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@shireesha](https://devforum.okta.com/u/shireesha)\
**Post date:** [July 1, 2025, 6:22am UTC](https://devforum.okta.com/t/errorcode-e0000006-errorsummary-you-do-not-have-permission-to-perform-the-requested-action/33820/1 "2025-07-01T06:22:32Z")

</div>

Hi Okta Team,  
Currently I’m using free Okta Developer account and oauth flow.  
Basically I’m trying to get the users and groups Info (/api/v1/groups/{groupID}/users and /api/v1/groups ) information using token.

Token is generated by using JWTAssertion and by passing grant\_type=client\_credentials, scope=okta.groups.read". I’m able to get the access\_token but groups and users api is giving me the following error “errorCode”:“E0000006”,“errorSummary”:“You do not have permission to perform the requested action”.I’m trying to get the groups info using oauth2 flow not using API Token.

Please help me to solve this issue.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [July 1, 2025, 3:25pm UTC](https://devforum.okta.com/t/errorcode-e0000006-errorsummary-you-do-not-have-permission-to-perform-the-requested-action/33820/2 "2025-07-01T15:25:11Z")

</div>

If you are trying to use an OAuth token against Okta’s APIs, you need to ensure that the OIDC client you created (presumably an API Service application in your case, as you mention using Client Credentials grant) has both [the scope you are requesting enabled](https://developer.okta.com/docs/guides/implement-oauth-for-okta-serviceapp/main/#grant-allowed-scopes)  
AND it is [assigned an admin role](https://developer.okta.com/docs/guides/implement-oauth-for-okta-serviceapp/main/#assign-admin-roles-to-the-oauth-2-0-service-app) with sufficient permissions to access the resource.

That error makes me think the latter was missed and this service app was either not assigned an Admin Role or was not assigned an Admin role with access to the read User and Group information.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [July 31, 2025, 3:25pm UTC](https://devforum.okta.com/t/errorcode-e0000006-errorsummary-you-do-not-have-permission-to-perform-the-requested-action/33820/3 "2025-07-31T15:25:52Z")

</div>

Closed on July 31, 2025, 3:25pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
