Hello team, I have noticed an issue
Hello team, I have noticed an issue where their is inconsistency between UI and API for users search
Following is what i did
1. Created a role/group with API
2. Create a user and attached above role to the user with API
What's issue I noticed?
From API, it says user exists but in the UI user is not showing. I tried the same from incognito but its still the same. Attaching a screenshot
From screenshot
user created from API: CXE_D7F0D5_USER
right: 'search user' API response
top: only my user name existing
bottom: UI not allowing to create user with same name

2 Replies
Do you have orgs enabled? Maybe the user got created in a different org. If you still see the issue I recommend raising a TS ticket since you are unable to see the user and it says the user already exists.
Hi @Murali Krishna : Please follow the below steps to know if the user exists with the same name in a different Org
- Switch to Primary Org with a user having Administration privilege
- Navigate to Admin Tab and click on All Orgs
- Navigate to User section and it will fetch all the users across Orgs
- Search for the username which you are trying to create
- If user exists, check which org does the user belong to by clicking on the User
If your use-case needs to add the user in a different Org, you can do it via UI as well as API, else please use a different username.
To do this via API, you can use the api/rest/2.0/users/update API having required privileges.
Hope this helps. Let us know fo any further queries.