Table of Contents

Enum ActivityTaskFailedCause

Namespace
Temporalio.Api.Enums.V1
Assembly
Temporalio.dll

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.

public enum ActivityTaskFailedCause

Fields

[OriginalName("ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE")] ActivityWorkerUnhandledFailure = 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.

[OriginalName("ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE")] ExternalStorageFailure = 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.

[OriginalName("ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE")] PayloadsTooLarge = 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.

[OriginalName("ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED")] Unspecified = 0