We are using the Find Users API (link) to retrieve user details. However, we are encountering a 404 error with some accounts.
Here are the details:
Can you please help us understand in what cases the 404 error is triggered? Could this be related to the credentials we're using (e.g., does the email need to belong to an admin account)? Or is there a different underlying issue?
We'd appreciate your help in resolving this.
Welcome to the community.
Is this a Jira user or a JSM customer, if this is a JSM customer, this will result in a 404 as this information is not stored
Then try this API endpoint, https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-customer-get
Hi @Marc - Devoteam thanks for reply.
This is jira user not JSM. Can you help me here if this is Jira user why i am getting 404 error ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your first call with 200 is correct, but this result means no user is found with the search.
The 404 I can't explain, as the search would provide no results based on any search context if no result is found
See example on my side, this an ok result
Result [], means as I mentioned before, no results found
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marc - Devoteam,
I hope you are doing well.
as mentioned for "With some specific accounts, the API returns a 404 error whether the user is present or not."
The 200 response is for zluritest1 org and 404 for test-zluri-demo, and we are not able to figure out why.
we want more details on why we get 404 error and the account is based on jira software not JSM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still the result [] means nothing found.
The page not found I can't explain as I can't reproduce this on my end.
My only suggestion would be to contact Atlassian Support and present them the case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.