I am seeing a weird situation with the management API (node). If I try to use the management-client to create a new user and then immediately try and list all available users, the newly created user’s details do not appear. If I try again after a few seconds to fetch all users then the new user does appear in the list.
There seems to be a delay between the user being created and it appearing in the list of all users. However, if I fetch the details of the new user by it’s specific ID, then that is successful – so I know that the user is being created, just not appearing in the list of all users.
I also see similar problems when using the management API to delete a user. The user is successfully deleted, but it takes a while before it stops appearing in the list of users. This is confusing and causes problems with my application (that uses the management API) since it makes it appear as if the operation to create/delete a user was unsuccessful.
I note that there are some reports of similar problems in previous forum posts. But those are from a few years ago, and have been marked as ‘solved’. Is anyone else seeing the same problem?