Error: "Client must be authenticated to access this resource." when using Scoped API Token

In order to access user Search endpoint

 rest/api/3/users/search

I created API token with scope : read:jira-user, read:user:jira , but I received the error message:
“Client must be authenticated to access this resource.”
However, when I create an API token without specifying any scopes (which I assume grants full authorization), the request works as expected. I followed the documentation here.

Could you please advise which specific scope(s) are required for this request? I’d prefer not to use a fully scoped API token for such a simple operation."

Thanks.

1 Like