Skip to main content
Question

Insert more then one case into postgresql error pops


Forum|alt.badge.img+4

When I run more then ten cases at time in a batch to insert data into a postgresql DB I get the below error(in the attachment), however when I run the bot to insert one case with a hard coded value it insert the case, so it can’t be a syntax error, if I’m using the same cases to insert it into the postgresql DB.The process worked for over two months only today it had an issue.Nothing in the code had changed from 2months ago.Below is the error message any suggestions will be helpful-Thanks

2 replies

Forum|alt.badge.img+8
  • Automation Anywhere Team
  • 136 replies
  • January 9, 2024

Hello @Lesley,

Since there is no change in the code from last 2 months and to rule out duplicate sessions issue, Let's try cleaning up the local temp files on the machine that bot is trying to connect, This will help us verify that there aren't any duplicate sessions causing problems. 

Thanks. 

 


Padmakumar
Forum|alt.badge.img+13
  • Navigator | Tier 3
  • 785 replies
  • January 10, 2024

Hi @Lesley ,

 

Could you please provide the INSERT query? Also, I would recommend building the query on SSMS to double verify that it is Syntax error free.

 
 

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