how to get back an administrator role. and solve the above error
i assume if you are asking how to get access to administrator role? If that is the case you could request your Splunk admin to add you to sc_admin/admin role.