Getting error message while creating user in keycloak using rest api "/users"

getting the below error message while creating user in keycloak using rest api “/users”

“API resolved without sending a response for this may result in stalled requests.”

Please send the entire request (including headers of request and response) so that we can help you debug.

This is my code

The request code looks fine. My guess from doing some googling for that error is that it is because you are blocking to wait for the response (await), and whatever framework you’re running in doesn’t like that. It’s not a response/error that is returned from Keycloak.

Question: is it successfully creating the user in Keycloak?

yes user is getting created in keycloak. But when I login using the credentials it says “Invalid username or passwors”