Home > @infiniteobjects/shopify-data-manager > AdminTypes > CatalogUserErrorCode
Possible error codes that can be returned by CatalogUserError
.
Signature:
export declare enum CatalogUserErrorCode
Member | Value | Description |
---|---|---|
AppCatalogPriceListAssignment | "APP_CATALOG_PRICE_LIST_ASSIGNMENT" |
An app catalog cannot be assigned to a price list. |
Blank | "BLANK" |
The input value is blank. |
CannotAddMoreThanOneMarket | "CANNOT_ADD_MORE_THAN_ONE_MARKET" |
The catalog can’t be associated with more than one market. |
CannotCreateAppCatalog | "CANNOT_CREATE_APP_CATALOG" |
Cannot create a catalog for an app. |
CannotCreateMarketCatalog | "CANNOT_CREATE_MARKET_CATALOG" |
Cannot create a catalog for a market. |
CannotDeleteAppCatalog | "CANNOT_DELETE_APP_CATALOG" |
Cannot delete a catalog for an app. |
CannotDeleteMarketCatalog | "CANNOT_DELETE_MARKET_CATALOG" |
Cannot delete a catalog for a market. |
CannotModifyAppCatalog | "CANNOT_MODIFY_APP_CATALOG" |
Cannot modify a catalog for an app. |
CannotModifyMarketCatalog | "CANNOT_MODIFY_MARKET_CATALOG" |
Cannot modify a catalog for a market. |
CatalogContextDoesNotSupportQuantityPriceBreaks | "CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS" |
Quantity price breaks can be associated only with company location catalogs. |
CatalogContextDoesNotSupportQuantityRules | "CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES" |
Quantity rules can be associated only with company location catalogs. |
CatalogFailedToSave | "CATALOG_FAILED_TO_SAVE" |
Catalog failed to save. |
CatalogNotFound | "CATALOG_NOT_FOUND" |
The catalog wasn’t found. |
CompanyLocationCatalogStatusPlan | "COMPANY_LOCATION_CATALOG_STATUS_PLAN" |
A company location catalog outside of a supported plan can only have an archived status. |
CompanyLocationNotFound | "COMPANY_LOCATION_NOT_FOUND" |
The company location could not be found. |
ContextAlreadyAssignedToCatalog | "CONTEXT_ALREADY_ASSIGNED_TO_CATALOG" |
Context driver already assigned to this catalog. |
ContextCatalogLimitReached | "CONTEXT_CATALOG_LIMIT_REACHED" |
Cannot save the catalog because the catalog limit for the context was reached. |
ContextDriverMismatch | "CONTEXT_DRIVER_MISMATCH" |
The arguments contextsToAdd and contextsToRemove must match existing catalog context type. |
CountryPriceListAssignment | "COUNTRY_PRICE_LIST_ASSIGNMENT" |
A country price list cannot be assigned to a catalog. |
Invalid | "INVALID" |
The input value is invalid. |
InvalidCatalogContextType | "INVALID_CATALOG_CONTEXT_TYPE" |
The catalog context type is invalid. |
MarketAndPriceListCurrencyMismatch | "MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH" |
The catalog’s market and price list currencies do not match. |
MarketCatalogStatus | "MARKET_CATALOG_STATUS" |
A market catalog must have an active status. |
MarketNotFound | "MARKET_NOT_FOUND" |
Market not found. |
MarketTaken | "MARKET_TAKEN" |
Market already belongs to another catalog. |
MustProvideExactlyOneContextType | "MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE" |
Must provide exactly one context type. |
PriceListFailedToSave | "PRICE_LIST_FAILED_TO_SAVE" |
Price list failed to save. |
PriceListLocked | "PRICE_LIST_LOCKED" |
The price list is currently being modified. Please try again later. |
PriceListNotAllowedForPrimaryMarket | "PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET" |
A price list cannot be assigned to the primary market. |
PriceListNotFound | "PRICE_LIST_NOT_FOUND" |
Price list not found. |
PublicationNotFound | "PUBLICATION_NOT_FOUND" |
Publication not found. |
RequiresContextsToAddOrRemove | "REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE" |
Must have contexts_to_add or contexts_to_remove argument. |
Taken | "TAKEN" |
The input value is already taken. |
TooLong | "TOO_LONG" |
The input value is too long. |
TooShort | "TOO_SHORT" |
The input value is too short. |
UnsupportedCatalogAction | "UNSUPPORTED_CATALOG_ACTION" |
Can’t perform this action on a catalog of this type. |