The user could not be deleted

After enrolling for an OTP using Google Authenticator and entering the one-time code, the following error occurs

“An internal server error has occurred”

I checked the credentials on that account in keycloak and they were not generated.
So I tried to delete the account and create a new one, but it didn’t work and I got an error like “The user could not be deleted For more on this error consult the server log at the debug level.”

I tried the following, but the deletion did not work

  1. deactivate and delete the account
  2. unassign the account role and delete it

If you have a specific case where deleting an account does not work, please let us know how you resolved it

Well, Keycloak tells you what to do to get more info about the cause.
Have you started the server in log-debug mode?
What’s in the debug logs?

Upon checking in Chrome, an error occurred as shown below.
“Failed to load resource: the server responded with a status of 409 ()”

I am having difficulty accessing the keycloak server.

Thank you.

The OTP was entered twice on the account, causing an error.

Thank you for your help.