Bot error:Execution of process failed: System.OperationCanceledException: The operation was canceled

sak
Bronze 5
Bronze 5

This error just happened today. It was working fine before. Has anyone got this bot error too?

sak_0-1716610817324.png

 

Solved Solved
0 3 318
1 ACCEPTED SOLUTION

The execution time is showing as 137 seconds that is exceeding the data change event execution time of 120 seconds. If the bot is a data change bot then that could be the reason. However in such cases typically the error displayed is "it took too long...."

For the scheduled bot though the execution time is much higher at 300 seconds. So if it is a scheduled bot, the reason could be something different.

Suvrutt_Gurjar_0-1716612555443.png

Automation limits - AppSheet Help

There are some other limits related to table size, number of records processed in a scheduled bot. You may want to evaluate if you are hitting any of those limits.

View solution in original post

3 REPLIES 3

The execution time is showing as 137 seconds that is exceeding the data change event execution time of 120 seconds. If the bot is a data change bot then that could be the reason. However in such cases typically the error displayed is "it took too long...."

For the scheduled bot though the execution time is much higher at 300 seconds. So if it is a scheduled bot, the reason could be something different.

Suvrutt_Gurjar_0-1716612555443.png

Automation limits - AppSheet Help

There are some other limits related to table size, number of records processed in a scheduled bot. You may want to evaluate if you are hitting any of those limits.

sak
Bronze 5
Bronze 5

@Suvrutt_Gurjar Thank you very much. Your advice really helped me find the root cause. It turns out that there were tons of rows added to the table which I was not aware of (the issue was unrelated to this topic). So the bot took a lot longer to process the whole table which consequently exceeded the 2-minute limit.

You are welcome @sak .Nice to know you have been able to solve the issue.

 

Top Labels in this Space