Duplicate name UserRole UR000XX

Hello,

When I try to add or modify user permissions, I get this error:

Duplicate name UserRole UR00068
User xxxxx@xxx.xxx already exists
Did not save

All I did was to create a new user and delete it after 5 minutes. Now I’m stuck with this error and I cannot modify any permission for any previously existing user or add permissions to newly created users.

Do I have to update manually the UR series in the DB or am I missing something?

Thanks for your help

Check https://erpnext.com/kb/setup/naming-series-current-value

Buen día me pasa algo similar pero con mi usuario lo elimine pero alñ tratar de darlo de alta me manda el mismo error me podrias indicar apoyar como es que lograste corregir el warning.