Skip to main content
Solved

Permission denied while deploying the Bot via control room api


Forum|alt.badge.img+1

Hi All, I am testing control room API to run the deploy the bot from another application throw api. I have created a Bot creator account having custom bot runner roles to run the Bot and I am able to run the Bot from AA360 control room. But when I am trying to run the Bot from API with all necessary settings, I am getting below error
PERMISSION_DENIED: User: (userid) does not have permission to run bot
Please help me on this how to resolve it.

Best answer by Sajith Sudhakaran

Hello @Santosh 8935 

1. Verify the user has unattended license assigned for the bot deployment.
2. The User which is used for the deployment from should have the Repository-Bots permission for running the bot.

View original
Did this topic help answer your question?

4 replies

Forum|alt.badge.img+7

Hello @Santosh 8935 

1. Verify the user has unattended license assigned for the bot deployment.
2. The User which is used for the deployment from should have the Repository-Bots permission for running the bot.


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • August 14, 2023

Hi @Sajith Sudhakaran , I have give now the Bot runner license but not sure which “Repository-Bots permission” you are asking to provide. I have provided run my bot permission already. Please let me know.


Forum|alt.badge.img+7

Hello @Santosh 8935 Are you still facing issue after giving Bot Runner license? If yes, what is the current error you getting.

You have to ensure the user has permission to run the bots on which folder its located. You may create a custom role and chose the Bot run permissions and the folder where the task bot is located, then assign this role to the runner user. 


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • August 14, 2023

Hi @Sajith Sudhakaran , On your first question, yes I am getting same error as  "message": "PERMISSION_DENIED: User: (santoshkumarc@kpmg.com) does not have permission to run bot". I created custom role and provided all roles to that and then assigned to that Bot runner user. But getting same message as mentioned. Even all folder enabled.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings