Forums

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

Help Needed: Issue with /rest/api/3/group/picker Endpoint Returning 401 Unauthorized

Vasilis Kokotakis January 24, 2025

Hey community,

I’m encountering an issue with the /rest/api/3/group/picker?query=* endpoint.

Despite having all the necessary scopes activated, this specific endpoint returns the following error:

{
    "code": 401,
    "message": "Unauthorized; scope does not match"
}

What’s puzzling is that my solution uses over 100 other endpoints, all of which work perfectly. This is the only endpoint that’s failing.

I’m wondering:

  1. Has this endpoint been deprecated?
  2. Are there any recent changes or specific requirements for using this endpoint?
  3. Could there be anything else I’m missing, even with the scopes properly configured?

Any insights or guidance would be greatly appreciated!

Thanks in advance!

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2025

Hi @Vasilis Kokotakis 

Are you trying to use this one where groups is plural?  It is singular in your URL.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-groups-picker-get

Also, if you are querying for all of them, consider removing the query to do that.

Kind regards,
Bill

Vasilis Kokotakis January 26, 2025

You are so right! Thanks @Bill Sheboy 

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events