Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

enum

ShopifyQL parsing errors.

Anchor to BACKFILL_DATE_RANGE_NOT_FOUNDBACKFILL_DATE_RANGE_NOT_FOUND
•

When using GROUP BY with the ALL modifier, SINCE or DURING must be defined.

•

Column not found.

Anchor to COMPARE_TO_INCOMPATIBLE_PERIODCOMPARE_TO_INCOMPATIBLE_PERIOD
•

The time period for COMPARE TO must be the same length as DURING.

Anchor to COMPARE_TO_INVALID_PERIODCOMPARE_TO_INVALID_PERIOD
•

Invalid COMPARE TO period specified. Make sure it's not the same as the DURING clause.

Anchor to COMPARE_TO_MISSING_PERIODCOMPARE_TO_MISSING_PERIOD
•

Cannot use a COMPARE TO clause without DURING or SINCE.

Anchor to COMPARISON_WITH_NON_AGGREGATE_FIELDSCOMPARISON_WITH_NON_AGGREGATE_FIELDS
•

Comparison queries must only contain aggregated fields.

Anchor to DATE_INTERVAL_NOT_FOUNDDATE_INTERVAL_NOT_FOUND
•

Date interval not found.

•

Date isn't parsable.

Anchor to DATE_TIME_NOT_PARSABLEDATE_TIME_NOT_PARSABLE
•

Datetime value isn't parsable.

Anchor to EXCESS_BACKFILL_DIMENSIONSEXCESS_BACKFILL_DIMENSIONS
•

The GROUP BY function is limited to one parameter with the ALL modifier.

•

The GROUP BY function has too many parameters. When using VISUALIZE with COMPARE TO use only one GROUP BY parameter.

•

Mixing of SINCE and/or UNTIL with DURING is not allowed.

•

Use the correct syntax for either SHOW or VISUALIZE.

•

Keyword FROM not found.

Anchor to FUNCTION_ARGUMENTS_NOT_FOUNDFUNCTION_ARGUMENTS_NOT_FOUND
•

Function is missing required argument(s).

Anchor to FUNCTION_EXCESS_ARGUMENTSFUNCTION_EXCESS_ARGUMENTS
•

Function has too many arguments.

Anchor to FUNCTION_INCOMPATIBLE_TYPESFUNCTION_INCOMPATIBLE_TYPES
•

Function has incompatible types.

Anchor to FUNCTION_MODIFIER_NOT_FOUNDFUNCTION_MODIFIER_NOT_FOUND
•

Function does not have any valid modifiers.

Anchor to FUNCTION_NESTED_AGGREGATEFUNCTION_NESTED_AGGREGATE
•

An aggregate function received a nested aggregate argument, which is not allowed.

•

Function not found.

•

The SINCE date must be before or the same as the UNTIL date.

•

Limit is invalid.

Anchor to LIST_MIXED_ARGUMENT_TYPESLIST_MIXED_ARGUMENT_TYPES
•

Mixing of IN list arguments of different data types is not allowed.

Anchor to MIXED_AGGREGATE_AND_NON_AGGREGATEMIXED_AGGREGATE_AND_NON_AGGREGATE
•

Mixing an aggregate expression and a non-aggregate expression is not allowed.

Anchor to NAMED_DATE_NOT_FOUNDNAMED_DATE_NOT_FOUND
•

Named date not found.

Anchor to OPERATOR_INCOMPATIBLE_TYPESOPERATOR_INCOMPATIBLE_TYPES
•

Invalid arguments for operator.

Anchor to PRESENTMENT_NOT_FOUNDPRESENTMENT_NOT_FOUND
•

Query is missing SHOW or VISUALIZE.

Anchor to REQUIRED_GROUP_BY_NOT_FOUNDREQUIRED_GROUP_BY_NOT_FOUND
•

Column must include GROUP BY arg1.

Anchor to SEMANTICALLY_INVALIDSEMANTICALLY_INVALID
•

Semantically invalid.

Anchor to SORT_FIELD_NOT_FOUNDSORT_FIELD_NOT_FOUND
•

Sort field not found.

Anchor to SYNTAX_FAILED_PREDICATESYNTAX_FAILED_PREDICATE
•

A semantic predicate failed during validation.

Anchor to SYNTAX_INPUT_MISMATCHSYNTAX_INPUT_MISMATCH
•

Identifier or function out of place.

Anchor to SYNTAX_INVALID_TOKENSYNTAX_INVALID_TOKEN
•

Invalid entry.

Anchor to SYNTAX_MISSING_TOKENSYNTAX_MISSING_TOKEN
•

Query is incomplete.

Anchor to SYNTAX_NO_VIABLE_ALTERNATIVESYNTAX_NO_VIABLE_ALTERNATIVE
•

Identifier after SHOW is not valid in its current position.

Anchor to SYNTAX_NOT_RECOGNIZEDSYNTAX_NOT_RECOGNIZED
•

Syntax not recognized.

Anchor to SYNTAX_UNWANTED_TOKENSYNTAX_UNWANTED_TOKEN
•

Identifier or function out of place.

•

Table not found.

Anchor to TIME_FUNCTION_NOT_FOUNDTIME_FUNCTION_NOT_FOUND
•

Time function is incompatible in a GROUP BY clause with the ALL modifier.

Anchor to UNBACKFILLED_TIME_GROUP_BY_COMPARISONUNBACKFILLED_TIME_GROUP_BY_COMPARISON
•

When using COMPARE TO with a time-based GROUP BY, ALL must be used.

•

Unknown error.

•

Value isn't parsable.

Anchor to VISUALIZE_CHART_TYPE_NOT_FOUNDVISUALIZE_CHART_TYPE_NOT_FOUND
•

The type of visualization is invalid. Acceptable types: bar, line.

Anchor to VISUALIZE_EXCESS_PROJECTIONSVISUALIZE_EXCESS_PROJECTIONS
•

Visualize has too many projections.

Anchor to VISUALIZE_GROUP_BY_MIXED_BACKFILLVISUALIZE_GROUP_BY_MIXED_BACKFILL
•

Function VISUALIZE can only use GROUP BY or GROUP BY with the ALL modifier, not both.

Anchor to VISUALIZE_GROUP_BY_NOT_FOUNDVISUALIZE_GROUP_BY_NOT_FOUND
•

Function VISUALIZE requires GROUP BY.

Anchor to VISUALIZE_INCOMPATIBLE_TYPESVISUALIZE_INCOMPATIBLE_TYPES
•

Function VISUALIZE contains a data type which cannot be plotted.


Was this section helpful?

•
OBJECTDeprecated

An error code for the error.


Was this section helpful?