Skip to content

Troubleshooting / TaskTimeout Error

During the execution of a function, a TaskTimeout error may occur, such as:

Text Only
1
2
3
4
Traceback (most recent call last **IN USER SCRIPT**):
  File "demo__test_timeout", line 5, in test_timeout
    time.sleep(100)
worker.tasks.TaskTimeout: Task execution has taken too much time and has been killed by force

This error indicates that the function execution has timed out due to taking too long. Please refer to the following Guide for handling: