# Missing permission Error

If the bot failes to edit or delete something, for example a channel, role or if the bot fails to mute, kick or ban a user, follow the points below:

{% stepper %}
{% step %}
Check if the bot has the 'administrator' permission. You can do so by going to your server settings -> role settings -> the InfinityBot role -> permissions -> scrole down until you see the image below and enable it.&#x20;

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FFjnFQYV2KVSWKgd6qg7O%2Fimage.png?alt=media&#x26;token=cc3678a1-27b3-477d-b60b-6664da39c088" alt="" width="404"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Check if the role of the bot is at the top of the server roles. You can do this by going to your server settings -> role settings -> drag the InfinityBot role to the top like the image below.

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FqRsWVhswvp08DWz4AWkJ%2Fezgif-6-48d9817cf9.gif?alt=media&#x26;token=efdb8c82-5689-4886-be7b-3ef5266b5104" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Keep in mind that bots can not add the custom roles from bots to users.&#x20;
{% endhint %}
{% endstep %}

{% step %}
If the steps above did not work, please contact support with [this link](../../start-here/get-support).&#x20;
{% endstep %}
{% endstepper %}
