Home > @infiniteobjects/shopify-data-manager > AdminTypes > ParseErrorCode
ShopifyQL parsing errors.
Signature:
export declare enum ParseErrorCode
| Member | Value | Description |
|---|---|---|
| BackfillDateRangeNotFound | "BACKFILL_DATE_RANGE_NOT_FOUND" |
When using GROUP BY with the ALL modifier, SINCE or DURING must be defined. |
| ColumnNotFound | "COLUMN_NOT_FOUND" |
Column not found. |
| CompareToIncompatiblePeriod | "COMPARE_TO_INCOMPATIBLE_PERIOD" |
The time period for COMPARE TO must be the same length as DURING. |
| CompareToInvalidPeriod | "COMPARE_TO_INVALID_PERIOD" |
Invalid COMPARE TO period specified. Make sure it’s not the same as the DURING clause. |
| CompareToMissingPeriod | "COMPARE_TO_MISSING_PERIOD" |
Cannot use a COMPARE TO clause without DURING or SINCE. |
| ComparisonWithNonAggregateFields | "COMPARISON_WITH_NON_AGGREGATE_FIELDS" |
Comparison queries must only contain aggregated fields. |
| DateIntervalNotFound | "DATE_INTERVAL_NOT_FOUND" |
Date interval not found. |
| DateNotParsable | "DATE_NOT_PARSABLE" |
Date isn’t parsable. |
| DateTimeNotParsable | "DATE_TIME_NOT_PARSABLE" |
Datetime value isn’t parsable. |
| ExcessBackfillDimensions | "EXCESS_BACKFILL_DIMENSIONS" |
The GROUP BY function is limited to one parameter with the ALL modifier. |
| ExcessDimensions | "EXCESS_DIMENSIONS" |
The GROUP BY function has too many parameters. When using VISUALIZE with COMPARE TO use only one GROUP BY parameter. |
| ExcessPeriods | "EXCESS_PERIODS" |
Mixing of SINCE and/or UNTIL with DURING is not allowed. |
| ExcessPresentments | "EXCESS_PRESENTMENTS" |
Use the correct syntax for either SHOW or VISUALIZE. |
| FromNotFound | "FROM_NOT_FOUND" |
Keyword FROM not found. |
| FunctionArgumentsNotFound | "FUNCTION_ARGUMENTS_NOT_FOUND" |
Function is missing required argument(s). |
| FunctionExcessArguments | "FUNCTION_EXCESS_ARGUMENTS" |
Function has too many arguments. |
| FunctionIncompatibleTypes | "FUNCTION_INCOMPATIBLE_TYPES" |
Function has incompatible types. |
| FunctionModifierNotFound | "FUNCTION_MODIFIER_NOT_FOUND" |
Function does not have any valid modifiers. |
| FunctionNestedAggregate | "FUNCTION_NESTED_AGGREGATE" |
An aggregate function received a nested aggregate argument, which is not allowed. |
| FunctionNotFound | "FUNCTION_NOT_FOUND" |
Function not found. |
| InvalidDateRange | "INVALID_DATE_RANGE" |
The SINCE date must be before or the same as the UNTIL date. |
| LimitInvalid | "LIMIT_INVALID" |
Limit is invalid. |
| ListMixedArgumentTypes | "LIST_MIXED_ARGUMENT_TYPES" |
Mixing of IN list arguments of different data types is not allowed. |
| MixedAggregateAndNonAggregate | "MIXED_AGGREGATE_AND_NON_AGGREGATE" |
Mixing an aggregate expression and a non-aggregate expression is not allowed. |
| NamedDateNotFound | "NAMED_DATE_NOT_FOUND" |
Named date not found. |
| OperatorIncompatibleTypes | "OPERATOR_INCOMPATIBLE_TYPES" |
Invalid arguments for operator. |
| PresentmentNotFound | "PRESENTMENT_NOT_FOUND" |
Query is missing SHOW or VISUALIZE. |
| RequiredGroupByNotFound | "REQUIRED_GROUP_BY_NOT_FOUND" |
Column must include GROUP BY arg1. |
| SemanticallyInvalid | "SEMANTICALLY_INVALID" |
Semantically invalid. |
| SortFieldNotFound | "SORT_FIELD_NOT_FOUND" |
Sort field not found. |
| SyntaxFailedPredicate | "SYNTAX_FAILED_PREDICATE" |
A semantic predicate failed during validation. |
| SyntaxInputMismatch | "SYNTAX_INPUT_MISMATCH" |
Identifier or function out of place. |
| SyntaxInvalidToken | "SYNTAX_INVALID_TOKEN" |
Invalid entry. |
| SyntaxMissingToken | "SYNTAX_MISSING_TOKEN" |
Query is incomplete. |
| SyntaxNotRecognized | "SYNTAX_NOT_RECOGNIZED" |
Syntax not recognized. |
| SyntaxNoViableAlternative | "SYNTAX_NO_VIABLE_ALTERNATIVE" |
Identifier after SHOW is not valid in its current position. |
| SyntaxUnwantedToken | "SYNTAX_UNWANTED_TOKEN" |
Identifier or function out of place. |
| TableNotFound | "TABLE_NOT_FOUND" |
Table not found. |
| TimeFunctionNotFound | "TIME_FUNCTION_NOT_FOUND" |
Time function is incompatible in a GROUP BY clause with the ALL modifier. |
| UnbackfilledTimeGroupByComparison | "UNBACKFILLED_TIME_GROUP_BY_COMPARISON" |
When using COMPARE TO with a time-based GROUP BY, ALL must be used. |
| Unknown | "UNKNOWN" |
Unknown error. |
| ValueNotParsable | "VALUE_NOT_PARSABLE" |
Value isn’t parsable. |
| VisualizeChartTypeNotFound | "VISUALIZE_CHART_TYPE_NOT_FOUND" |
The type of visualization is invalid. Acceptable types: bar, line. |
| VisualizeExcessProjections | "VISUALIZE_EXCESS_PROJECTIONS" |
Visualize has too many projections. |
| VisualizeGroupByMixedBackfill | "VISUALIZE_GROUP_BY_MIXED_BACKFILL" |
Function VISUALIZE can only use GROUP BY or GROUP BY with the ALL modifier, not both. |
| VisualizeGroupByNotFound | "VISUALIZE_GROUP_BY_NOT_FOUND" |
Function VISUALIZE requires GROUP BY. |
| VisualizeIncompatibleTypes | "VISUALIZE_INCOMPATIBLE_TYPES" |
Function VISUALIZE contains a data type which cannot be plotted. |