Skip to content

Troubleshooting / TaskTimeoutException Error

The TaskTimeoutException error occurs during function execution, as shown below:

Text Only
1
2
3
4
5
6
7
8
#1 --------------------
Executing function: demo__demo.test_timeout()

Error stack:
Traceback (most recent call last):
  File "demo__demo", line 4, in test_timeout
    time.sleep(100)
worker.tasks.TaskTimeoutException: Task execution takes too much time and has been interrupted by force

This error indicates that the function execution took too long and timed out. Please refer to the following documentation for handling: