Skip to main content
Anchor to AutomationWorkflowValidationErrorCode

AutomationWorkflowValidationErrorCode

enum

The reason a saved automation version can't be activated. These errors can be returned after a successful create or update.

Anchor to CONDITION_DOUBLE_LOOP_WARNINGCONDITION_DOUBLE_LOOP_WARNING

A condition contains nested loops that might affect performance.

Anchor to CONDITION_EMPTY_WORKFLOW_VARIABLECONDITION_EMPTY_WORKFLOW_VARIABLE

A condition references an empty automation variable.

Anchor to CONDITION_INCOMPATIBILITYCONDITION_INCOMPATIBILITY

A condition is incompatible with its automation step.

Anchor to CONDITION_INPUT_ACKNOWLEDGMENT_REQUIREDCONDITION_INPUT_ACKNOWLEDGMENT_REQUIRED

A condition uses fields that work differently in a newer API version and must be reviewed.

Anchor to CONDITION_INVALID_DATE_VALUECONDITION_INVALID_DATE_VALUE

A condition contains an invalid date value.

Anchor to CONDITION_INVALID_ENUM_VALUECONDITION_INVALID_ENUM_VALUE

A condition contains an invalid enum value.

Anchor to CONDITION_INVALID_RESOURCE_VALUECONDITION_INVALID_RESOURCE_VALUE

A condition contains an invalid resource value.

Anchor to CONDITION_MAP_OVER_INVALID_TYPECONDITION_MAP_OVER_INVALID_TYPE

A condition tries to iterate over a value that isn't a list.

Anchor to CONDITION_MISSING_ENCLOSING_ARRAY_ITEM_REFERENCECONDITION_MISSING_ENCLOSING_ARRAY_ITEM_REFERENCE

A condition inside a loop doesn't reference the current list item.

Anchor to CONDITION_NON_PRIMITIVECONDITION_NON_PRIMITIVE

A condition compares a value that can't be compared directly.

A condition is present where no condition is allowed.

Anchor to CONDITION_RESOURCE_NOT_FOUNDCONDITION_RESOURCE_NOT_FOUND

A condition references a resource that isn't available.

Anchor to CONDITION_SINGLE_USAGE_ERRORCONDITION_SINGLE_USAGE_ERROR

A condition uses a value more than once where only one use is allowed.

Anchor to CONDITION_STEP_NOT_EMPTYCONDITION_STEP_NOT_EMPTY

A condition step is missing its condition.

Anchor to CONDITION_TYPE_ERRORCONDITION_TYPE_ERROR

A condition compares incompatible value types.

Anchor to CONFIG_FIELD_DOUBLE_LOOP_WARNINGCONFIG_FIELD_DOUBLE_LOOP_WARNING

A configuration field contains nested loops that might affect performance.

Anchor to CONFIG_FIELD_EMPTY_WORKFLOW_VARIABLECONFIG_FIELD_EMPTY_WORKFLOW_VARIABLE

A configuration field references an empty automation variable.

Anchor to CONFIG_FIELD_FETCH_SORT_KEYS_INCOMPATIBILITYCONFIG_FIELD_FETCH_SORT_KEYS_INCOMPATIBILITY

A configuration field uses incompatible fetch and sort options.

Anchor to CONFIG_FIELD_GRAPHQL_QUERY_ERRORCONFIG_FIELD_GRAPHQL_QUERY_ERROR

A configuration field contains an invalid GraphQL query.

Anchor to CONFIG_FIELD_GRAPHQL_SCHEMA_ERRORCONFIG_FIELD_GRAPHQL_SCHEMA_ERROR

A configuration field doesn't match its GraphQL schema.

Anchor to CONFIG_FIELD_JAVASCRIPT_ERRORCONFIG_FIELD_JAVASCRIPT_ERROR

A configuration field contains invalid JavaScript.

Anchor to CONFIG_FIELD_JSON_PARSE_ERRORCONFIG_FIELD_JSON_PARSE_ERROR

A configuration field contains invalid JSON.

Anchor to CONFIG_FIELD_MAP_OVER_INVALID_TYPECONFIG_FIELD_MAP_OVER_INVALID_TYPE

A configuration field tries to iterate over a value that isn't a list.

Anchor to CONFIG_FIELD_MUTATION_INPUT_ACKNOWLEDGMENT_REQUIREDCONFIG_FIELD_MUTATION_INPUT_ACKNOWLEDGMENT_REQUIRED

A configuration field uses a mutation that works differently in a newer API version and must be reviewed.

Anchor to CONFIG_FIELD_MUTATION_NOT_FOUNDCONFIG_FIELD_MUTATION_NOT_FOUND

A configuration field references a mutation that isn't available.

Anchor to CONFIG_FIELD_MUTATION_NOT_SELECTEDCONFIG_FIELD_MUTATION_NOT_SELECTED

A configuration field doesn't select a required mutation.

Anchor to CONFIG_FIELD_NAME_RESOLUTION_ERRORCONFIG_FIELD_NAME_RESOLUTION_ERROR

A configuration field references a name that can't be resolved.

Anchor to CONFIG_FIELD_NON_PRIMITIVE_ERRORCONFIG_FIELD_NON_PRIMITIVE_ERROR

A configuration field uses a value that can't be stored directly.

Anchor to CONFIG_FIELD_PARTNER_VALIDATION_ERRORCONFIG_FIELD_PARTNER_VALIDATION_ERROR

A configuration field was rejected by its app.

Anchor to CONFIG_FIELD_PATH_VALIDATION_ERRORCONFIG_FIELD_PATH_VALIDATION_ERROR

A configuration field contains an invalid path.

Anchor to CONFIG_FIELD_RESOLUTION_ERRORCONFIG_FIELD_RESOLUTION_ERROR

A configuration field contains a reference that can't be resolved.

Anchor to CONFIG_FIELD_SECRETS_NOT_SUPPORTEDCONFIG_FIELD_SECRETS_NOT_SUPPORTED

A configuration field uses secrets where they aren't supported.

Anchor to CONFIG_FIELD_SHOPIFYQL_QUERY_TOO_COMPLEXCONFIG_FIELD_SHOPIFYQL_QUERY_TOO_COMPLEX

A configuration field contains a ShopifyQL query that is too complex.

Anchor to CONFIG_FIELD_SHOPIFYQL_SEMANTIC_VALIDATION_ERRORCONFIG_FIELD_SHOPIFYQL_SEMANTIC_VALIDATION_ERROR

A configuration field contains a ShopifyQL query with invalid semantics.

Anchor to CONFIG_FIELD_SHOPIFYQL_UNSUPPORTED_COLUMN_TYPECONFIG_FIELD_SHOPIFYQL_UNSUPPORTED_COLUMN_TYPE

A configuration field contains a ShopifyQL query with an unsupported column type.

Anchor to CONFIG_FIELD_SINGLE_USAGE_ERRORCONFIG_FIELD_SINGLE_USAGE_ERROR

A configuration field uses a value more than once where only one use is allowed.

Anchor to CONFIG_FIELD_TYPE_ERRORCONFIG_FIELD_TYPE_ERROR

A configuration field contains a value of the wrong type.

Anchor to CONFIG_FIELD_VALIDATION_ERRORCONFIG_FIELD_VALIDATION_ERROR

A configuration field is invalid.

An app used by the automation returned an error.

Anchor to CONNECTOR_UNINSTALLEDCONNECTOR_UNINSTALLED

An app used by the automation isn't installed.

Multiple automation paths converge on the same step.

The automation contains a cycle.

The automation uses a task that is still in draft.

A loop in the automation has an invalid body.

The automation can enter an infinite loop.

The automation contains an invalid link between steps.

Anchor to ITERATOR_TRIGGER_WITH_WAIT_STEPSITERATOR_TRIGGER_WITH_WAIT_STEPS

An automation with an iterator trigger contains a wait step.

The automation exceeds the maximum total wait duration.

The automation contains multiple starting steps.

The automation contains multiple trigger steps.

The automation doesn't contain an action.

The automation doesn't contain a trigger.

The automation uses a restricted task.

The shop required to validate the automation wasn't found.

Anchor to SHOPIFYQL_TRIGGER_ERRORSHOPIFYQL_TRIGGER_ERROR

The automation contains an invalid ShopifyQL trigger.

Anchor to STEP_VALIDATION_ERRORSTEP_VALIDATION_ERROR

An automation step is invalid.

The error couldn't be classified.

Anchor to VARIABLE_ALREADY_DECLAREDVARIABLE_ALREADY_DECLARED

The automation declares the same variable more than once.

Anchor to WORKFLOW_VALIDATION_ERRORWORKFLOW_VALIDATION_ERROR

The automation configuration is invalid.

Anchor to WORKFLOW_VALIDATION_INCOMPLETEWORKFLOW_VALIDATION_INCOMPLETE

The automation configuration couldn't be fully validated.


Was this section helpful?

•OBJECT

A validation error for a saved automation version. These errors don't prevent saving or reading the automation.


Was this section helpful?