Skip to main content

CreateTaskV2ErrorCode

Values

ASSIGN_TO_TEAM_NOT_FOUND
The team to assign to was not found
ASSIGN_TO_USER_NOT_FOUND
The user to assign to was not found
ASSOCIATED_RESOURCE_NOT_FOUND
The associated resource was not found
DRAFT_V1_MISSING_REQUIRED_PROMPTS

DRAFT_V1 tasks require both rationaleContextPrompt and draftMessageContextPrompt

DUE_DATE_IN_PAST
The due date is in the past
EXPIRES_AT_BEFORE_DUE_DATE
The expires at is before the due date
FORBIDDEN
The user does not have permission to perform this action
INVALID_CONDITION
One or more conditions are invalid
INVALID_DESCRIPTION_HTML
The description is invalid
INVALID_DUE_DATE
The due date is invalid
INVALID_EXPIRES_AT
The expires at is invalid
INVALID_LOCAL_ID

The local ID must be a valid string containing only alphanumeric characters, hyphens, and underscores with a length of 1-36 characters

ONLY_ONE_TRIGGER_ASSOCIATION_ALLOWED
Only one trigger association is allowed for a task
TASK_DEFINITION_CONDITION_EXECUTION_NOT_FOUND
The task definition condition execution was not found
TASK_FROM_IDEMPOTENCY_KEY_ALREADY_EXISTS
A task with the same idempotency key already exists
TASK_FROM_LOCAL_ID_ALREADY_EXISTS
A task with the same local ID already exists
TITLE_TOO_SHORT
The title is too short