When starting the bot, I am encountering the following exception: " Set to business exception due to item getting stuck in the queue. Please verify the outcome in the logs before retrying."
I checked the logs, but no entries are being created for this issue.
@Praveen_Soni,
Bot is facing some issue while set status to business exception.
Try to replicate the issue why it’s facing this issue. Check for the exception message contains any invalid characters or length is very long.
Thanks,
Ashok 
[quote=“Praveen_Soni, post:3, topic:762290”]
Hi @ashokkarale , I checked, but there are no messages related to invalid characters or excessive length. The only message I found while checking the queue status was “Set to business exception due to item getting stuck in the queue. Please verify the outcome in the logs before retrying.”
please refer the screenshot
@Praveen_Soni,
Are you getting the same error while debugging from Studio as well?
Thanks,
Ashok 
@ashokkarale - No, I did not get an error while debugging from Studio.
I just want to understand the cause of the error, actually what happened for these transactions.
Here is the full scenario: I ran one process bot on three accounts due to the high volume of transactions. I used the same machine with three different accounts. Initially, one bot started processing the transactions, and for 30 seconds, the other two machines were in a pending state. After one minute, all three machines were working in parallel. However, when I checked the queue, I found four transactions showing this error: “Set to business exception due to item getting stuck in the queue. Please verify the outcome in the logs before retrying.”
Thanks,
Praveen Soni 
@Praveen_Soni,
Ohh ok that’s strange. What was the QueueItem status? If it was Failed, I suspect there would be some network latency which could have resulted in this. In first attempt, bot would have tried to fail the transaction but after sending the request it didn’t get the response and retried the set transaction to set it to fail again on the transaction which got failed in first attempt.
I tried to reproduce this but not happening.
Thanks,
Ashok 
@ashokkarale,
Yes, the status was “failed.” It might have been due to network latency, which could have resulted in this issue.
Thanks,
Praveen Soni 
1 Like