This only applies to servers running QBCore Framework...
If you can't open certain admin commands even when you have the needed ranks (admin), is because you are missing some permissions in your server.cfg
Here are my permissions, compare it with yours and replace the identifiers with yours, restart the server and everything will work.
## Permissions ##add_ace group.admin command allow # allow all commands#add_principal identifier.{{principalMasterIdentifier}} qbcore.god <- doesn't exist yet, change the generated one below to qbcore.godadd_principal identifier.fivem:REPLACE_ME group.admin# Resourcesadd_ace resource.qb-core command allow # Allow qb-core to execute commands# Godsadd_ace qbcore.god command allow # Allow all commands# Inheritanceadd_principal qbcore.god group.admin # Allow gods access to the main admin group used to get all default permissionsadd_principal qbcore.god qbcore.admin # Allow gods access to admin commandsadd_principal qbcore.admin qbcore.mod # Allow admins access to mod commands# Most servers are missing this permission line:add_principal identifier.license:REPLACE_ME qbcore.god