Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

getting 403 error on getUserAPI

ajith May 13, 2024

Hi Team,
getting 403 error while calling getUserAPI using API Token. It was worked till yesterday.

URL : https://funvane-team-cd24ir8k.atlassian.net/rest/api/3/users

Thanks,
ajithkumar.M

1 answer

0 votes
Vijay Dadi
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.
May 13, 2024

Hello @ajith ,

are you using any search criteria to get users or just blank search. I have used like this

https://xxx.atlassian.net/rest/api/3/user/search?query={{object.Email}}. This searches the users using the email address provided.

Also while making send web request to this end point, the authorization token used should be base64 encoded. If you have not encoded your API token to base 64, i suggest you do that and that should solve your issue.

Vijay

ajith May 16, 2024

We are not using any search criteria. Instead, we are encoding those values already. It was still working with the old tokens. When I tried with the new API token, I encountered that error. I simply signed up for Jira and generated an API key token. Then, I attempted to call that API. Is there anything that needs to be configured before making that API call?
Because i tried 
Bulk get users API, i am getting "Client must be authenticated to access this resource."


ajith May 16, 2024

any update on this?

Vijay Dadi
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.
May 21, 2024

Can you share the web request details you are making, what is the end pint?

Suggest an answer

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

Atlassian Community Events