Skip to main content
Question

Getting SQLGrammarException when running bot

  • August 25, 2025
  • 3 replies
  • 26 views

Forum|alt.badge.img

We are getting the below error when trying to run the bot. This error is happening before even the dependencies are downloaded.

 

Preprocessing issue found

org.hibernate.exception.SQLGrammarException: could not execute statement

Code: preprocessing.failure

3 replies

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

@jobin.johnv Can you run other bots? Is this an on-premises control room or a cloud control room?

If you can run other bots, see if you can isolate the specific action(s) that are causing the issue. For example, if I put a lot of characters into an Email: Send action, I can get a pre-processing failure. Not this exact type, but similar.


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

Hi ​@jobin.johnv,

 

Are you using any Database action within your Bot? If yes, kindly try to change the package version and check again. Also, it is worth to check whether you have all the necessary pre-requisites available in order to use the DB pacakge.


Shreya.Kumar
Pathfinder Community Team
Forum|alt.badge.img+14
  • Pathfinder Community Team
  • October 7, 2025

@jobin.johnv were you able to resolve the error? Let us know what helped!