Skip to main content
Question

The bot is getting stuck pre-processing with the error: "We found an issue that prevents the bot from running. Access is denied'


Forum|alt.badge.img+6

I recently gave someone on my team access to the Control Room to run certain bots using the one botrunner we have.

 

However, whenever he runs the bot, he gets a success message but the bot never actually deploys. Once I check the audit logs I get this error message:

 

"We found an issue that prevents the bot from running. Access is denied"

 

with the event type: "Run bot pre processing failed"

 

It is a pretty generic message and not sure where to start.

6 replies

Forum|alt.badge.img+12

Hi @Robert DiTonno​ ,

Thank you for writing to us,

Please provide the view package permission for the user scheduling/deploying the bot from the Control Room.

Hope this resolves the issue. 


Forum|alt.badge.img+6
  • Author
  • Navigator | Tier 3
  • 13 replies
  • August 9, 2022

@Sahana B​ Thanks Sahana!

 

The weird thing is that this user is able to run the bot sometimes but other times he receives that error. Are the package permissions cached in anyway? Or could there be another root cause to this?


Forum|alt.badge.img+5
  • Navigator | Tier 3
  • 19 replies
  • October 18, 2022

Hi,

 

I've managed to resolve my issue (once i had reinstalled and installed the bot agents & making sure all my packages were up-to-date) to find my error was due to my code having error handler 'try' - 'catch' - followed by another 'catch' (all connected in one row - i was copying my code over to new bot part by part and was testing) once i removed the catch it worked.


Forum|alt.badge.img+4
  • Navigator | Tier 3
  • 15 replies
  • February 17, 2023
Automation Anywhere Team wrote:

Hi @Robert DiTonno​ ,

Thank you for writing to us,

Please provide the view package permission for the user scheduling/deploying the bot from the Control Room.

Hope this resolves the issue. 

 

Providing view package permission worked for me. This was strange as it was not listed in the prerequisites on the apeople page- Run Bot with Queue. Should be updated.


rbkadiyam
Forum|alt.badge.img+16
  • Navigator | Tier 3
  • 578 replies
  • February 17, 2023

@Rob 6025 

Check the role associated with the user and see if folder level access provisioned 

 


Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 2 replies
  • April 20, 2023

If anyone is struggling with their bots not running on AARI Desktop and getting this error from the audit log, updating the role to include the view package permission worked for me as well. 


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