Skip to main content
Anchor to AutomationWorkflowUserErrorCode

AutomationWorkflowUserErrorCode

enum

Possible error codes that can be returned by AutomationWorkflowUserError.

Anchor to CANNOT_DELETE_ACTIVE_WORKFLOWCANNOT_DELETE_ACTIVE_WORKFLOW

The automation is active. Deactivate it before deleting it.

Anchor to CONDITION_VALUE_LIMIT_EXCEEDEDCONDITION_VALUE_LIMIT_EXCEEDED

An automation condition value exceeds the allowed size.

Anchor to CONFIG_FIELD_VALUE_TOO_LARGECONFIG_FIELD_VALUE_TOO_LARGE

An automation configuration value exceeds the allowed size.

Anchor to ENTITY_ALREADY_LOCKEDENTITY_ALREADY_LOCKED

Another operation is in progress for this automation. Try again.

Anchor to INVALID_CONDITION_VALUEINVALID_CONDITION_VALUE

An automation condition contains an invalid value.

A link between automation steps is invalid.

An automation step ID is invalid.

An automation step name is invalid.

Anchor to INVALID_WORKFLOW_JSONINVALID_WORKFLOW_JSON

The automation configuration isn't a JSON object.

Anchor to INVALID_WORKFLOW_TAGINVALID_WORKFLOW_TAG

An automation tag is invalid.

Anchor to INVALID_WORKFLOW_VERSION_STATEINVALID_WORKFLOW_VERSION_STATE

The automation version is in a state that can't be activated.

The automation exceeds the maximum number of steps.

Anchor to MULTIPLE_TRIGGER_STEPSMULTIPLE_TRIGGER_STEPS

The automation contains more than one trigger step.

Anchor to NO_ACTIVATION_WITH_WORKFLOW_VALIDATION_ERRORSNO_ACTIVATION_WITH_WORKFLOW_VALIDATION_ERRORS

The workflow has validation errors that prevent activation.

Anchor to NO_EDITABLE_WORKFLOW_FIELDSNO_EDITABLE_WORKFLOW_FIELDS

The update doesn't include any editable fields.

The supplied version is no longer the latest automation version.

Anchor to RESOURCE_UNAVAILABLERESOURCE_UNAVAILABLE

A referenced resource doesn't exist or isn't available.

Anchor to STEP_CONDITION_EMPTYSTEP_CONDITION_EMPTY

An automation step condition is empty.

Anchor to STEP_ID_REUSED_FOR_DIFFERENT_TASKSTEP_ID_REUSED_FOR_DIFFERENT_TASK

An automation step ID was reused for a different task.

An automation task isn't available.

An automation task wasn't found.

The error couldn't be classified.

A referenced Admin API schema type isn't available.

Anchor to UNSUPPORTED_WORKFLOW_TYPEUNSUPPORTED_WORKFLOW_TYPE

This mutation doesn't support deleting this type of automation.

Anchor to WAIT_STEP_LIMIT_EXCEEDEDWAIT_STEP_LIMIT_EXCEEDED

The automation exceeds the maximum number of wait steps.

Anchor to WORKFLOW_FIELD_NOT_ALLOWEDWORKFLOW_FIELD_NOT_ALLOWED

The automation configuration contains a field that clients can't set.

Anchor to WORKFLOW_LIMIT_EXCEEDEDWORKFLOW_LIMIT_EXCEEDED

The shop has reached its automation limit.

Another operation is already in progress for this automation.

Anchor to WORKFLOW_NAME_REQUIREDWORKFLOW_NAME_REQUIRED

An automation name is required.

Anchor to WORKFLOW_NAME_TOO_LONGWORKFLOW_NAME_TOO_LONG

The automation name exceeds the maximum length.

Anchor to WORKFLOW_NOTE_TOO_LONGWORKFLOW_NOTE_TOO_LONG

The automation note exceeds the maximum length.

Anchor to WORKFLOW_STRUCTURE_INVALIDWORKFLOW_STRUCTURE_INVALID

The automation configuration has an invalid structure.

Anchor to WORKFLOW_TAG_LIMIT_EXCEEDEDWORKFLOW_TAG_LIMIT_EXCEEDED

The shop has reached its limit of distinct automation tags.


Was this section helpful?

•OBJECT

An error that prevented an automation operation from succeeding. For create and update, the requested changes weren't saved. Check code for the reason and field for the affected argument when available. Validation errors on a saved version are returned in automationWorkflow.validationErrors.


Was this section helpful?