Skip to main content

Hi,

I am working on a automation where I need to update the credentials in credential vault via the bot. I have made use of Update Credentials action from Credential Utility package. The bot is able to update the credential via bot creator, but when deployed to unattended runner it fails with following error message.

 

com.automationanywhere.botcommand.exception.BotCommandException: Could not complete the action. Error code: 403 Error details: {"code":"access.is.denied","details":null,"message":"Access is denied"}

 

I have given the locker owner role to the bot runner user as well as consumer. Any Idea if i’m missing anything here. 

 

Thanks

Hi,

I am working on a automation where I need to update the credentials in credential vault via the bot. I have made use of Update Credentials action from Credential Utility package. The bot is able to update the credential via bot creator, but when deployed to unattended runner it fails with following error message.

 

com.automationanywhere.botcommand.exception.BotCommandException: Could not complete the action. Error code: 403 Error details: {"code":"access.is.denied","details":null,"message":"Access is denied"}

 

I have given the locker owner role to the bot runner user as well as consumer. Any Idea if i’m missing anything here. 

 

Thanks

Check Role Permissions

  • The role assigned to the runner user must include:

    • Credential Vault → Update Credential

    • Locker → Access Locker

  • You can confirm this under Control Room → Administration → Roles.

  • Check Audit Logs in Control Room for more granular error details—sometimes it reveals which permission is missing.


Hi ​@abhay_naik ,

 

Was the previous Credential (before expiry) accessible and working for your Bot runner user?


Check the documentation of the action by clicking the document icon.

 


Hi,

Got this issue solved by enabling the following roles. Thanks everybody for the help.