Skip to main content

Enumeration: ActivityTaskFailedCause

enums.v1.ActivityTaskFailedCause

Activity tasks can fail for various reasons. Note that some of these reasons can only originate from the server, and some of them can only originate from the SDK/worker.

Enumeration Members

ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE

ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE = 3

The default cause for an activity task failure reported by a worker; a more specific cause takes precedence whenever the condition is recognized. Check the activity task failure message for more information.


ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE

ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE = 2

The worker failed to offload a payload to, or retrieve one from, external storage while processing this activity task. Check the activity task failure message for more information.


ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE

ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE = 1

A payload-bearing field on a request the worker sent for this activity task exceeded the per-field size limit configured on the server for the namespace. Check the activity task failure message for more information.


ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED

ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED = 0

ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED value