Skip to main content
Answer

How to identify specific Python script errors in Automation Anywhere?

  • June 19, 2025
  • 3 replies
  • 63 views

Forum|alt.badge.img+3

I've been working with Python scripts in Automation Anywhere, and I’m wondering — if there's an error in the script, is there a way to see the specific error details directly in AA, rather than just getting a generic bot error?

Any insights or best practices would be appreciated!

 

 

Best answer by Aaron.Gleason

No there is not at this time.

3 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • June 19, 2025

@sreehari.s The bot agent log file contains the information you need.Here’s a Python script that will return an error:

Go to this folder: C:\ProgramData\AutomationAnywhere\BotRunner\Logs

I opened the Bot_Launcher_AaronGleason.log and found:

 


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • June 19, 2025

@Aaron.Gleason  Thank you for your response. However, I’d like to clarify my question:
Is it possible to view the Python script error directly within Automation Anywhere itself, instead of having to navigate to the folder path you mentioned?


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • Answer
  • June 19, 2025

No there is not at this time.