Skip to content

Troubleshooting / TaskTimeout Error

A TaskTimeout error occurred during function execution, 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 timed out due to taking too long. Please refer to the following documentation for resolution: