Skip to main content
Solved

Unable to update the Credential in credential vault

  • July 25, 2025
  • 4 replies
  • 67 views

abhay_naik
Forum|alt.badge.img+2

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

Best answer by abhay_naik

Hi,

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

 

4 replies

Forum|alt.badge.img+4
  • Navigator | Tier 3
  • July 28, 2025

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.


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • July 28, 2025

Hi ​@abhay_naik ,

 

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


Forum|alt.badge.img+8
  • Navigator | Tier 3
  • July 28, 2025

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

 


abhay_naik
Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • Answer
  • July 28, 2025

Hi,

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