stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > PublicationUserErrorCode

AdminTypes.PublicationUserErrorCode enum

Possible error codes that can be returned by PublicationUserError.

Signature:

export declare enum PublicationUserErrorCode 

Enumeration Members

Member Value Description
Blank "BLANK" The input value is blank.
CannotModifyAppCatalog "CANNOT_MODIFY_APP_CATALOG" Cannot modify a catalog for an app.
CannotModifyAppCatalogPublication "CANNOT_MODIFY_APP_CATALOG_PUBLICATION" Can’t modify a publication that belongs to an app catalog.
CannotModifyMarketCatalog "CANNOT_MODIFY_MARKET_CATALOG" Cannot modify a catalog for a market.
CannotModifyMarketCatalogPublication "CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION" Can’t modify a publication that belongs to a market catalog.
CatalogNotFound "CATALOG_NOT_FOUND" Catalog does not exist.
Invalid "INVALID" The input value is invalid.
InvalidPublishableId "INVALID_PUBLISHABLE_ID" Publishable ID not found.
MarketNotFound "MARKET_NOT_FOUND" Market does not exist.
ProductTypeIncompatibleWithCatalogType "PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE" A product publication cannot be created because the catalog type associated with this publication does not permit publications of this product type.
PublicationLocked "PUBLICATION_LOCKED" The publication is currently being modified. Please try again later.
PublicationNotFound "PUBLICATION_NOT_FOUND" Publication not found.
PublicationUpdateLimitExceeded "PUBLICATION_UPDATE_LIMIT_EXCEEDED" The limit for simultaneous publication updates has been exceeded.
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.
UnsupportedPublicationAction "UNSUPPORTED_PUBLICATION_ACTION" Can’t perform this action on a publication.
UnsupportedPublishableType "UNSUPPORTED_PUBLISHABLE_TYPE" A catalog publication can only contain products.