Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

OAuth2.0 (3LO) not working for Groups API with by-ID parameter but works for by-name parameters

sam saas
Contributor
December 7, 2020

Hi, I have added all the scopes in Confluence app management page to my app.
And using the token generated, I am able to get the groups (https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-api-group-get)
But using the same token, it still gives me 401 error for GET /wiki/rest/api/group/{groupId}/membersByGroupId

 

imageimage2964×618 78.6 KB

 

Whereas the get group members by name endpoint (https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-api-group-member-get)
works fine with the same token.

imageimage2956×742 176 KB

 

In addition to this I get the same error for these endpoints too :
https://developer.atlassian.com/cloud/confluence/rest/api-group-users/#api-api-user-memberof-get

https://developer.atlassian.com/cloud/confluence/rest/api-group-group/#api-api-group-userbygroupid-delete

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events