How to: Fix the error prompt to re-deploy Custom Role on Versa Director.
*This KB is for demonstration purpose
*Tested on release 22.1.x

Step 1: Verify that the Role does not exist on UI under Parent/Tenant ORG
From VD GUI:
#Note- In case the Role exists on UI, re-deploy that role to fix
Step 2: Check if stale entry exists in Database
From VD Shell:
For instance, stale entry Custom-Role-1 and custom-role exists in DB while the same is not present on UI

Step 3: Delete the faulty Role from the database

Step 4: Verify on UI

##################################################
In case any further query, please reach out to Versa TAC