Possible Errors per Query/Mutation — graphql-storefront-administration

This page lists every GraphQL query and mutation of the graphql-storefront-administration module and the Error DataTypes (including their codes and messages) that can appear in the operation’s payload userErrors array.

Note

Only errors returned as part of the payload’s userErrors are listed here. A failing authentication/authorization check is returned as a top-level GraphQL error (not inside userErrors) and is therefore not part of the tables below.

All codes are prefixed with oegqlsa.. See Error DataTypes for the full type/field reference.

adminProduct

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

adminProducts

This operation returns no error DataTypes.

adminProductCreate

Error DataType

Code

Message

IdAlreadyExistsError

oegqlsa.id_already_exists.product

A product with the provided ID already exists.

ValidationError

oegqlsa.validation.product_id

The product id is invalid.

NotFoundError

oegqlsa.not_found.product_image

The product image was not found.

ValidationError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

NotFoundError

oegqlsa.not_found.language

No language was found for the provided locale.

NotUpdatedError

oegqlsa.not_updated.product_language_fields

The language fields of the product with the provided ID could not be updated.

IdAlreadyExistsError

oegqlsa.id_already_exists.download_file

A download file with the provided ID already exists.

NotFoundError

oegqlsa.not_found.download_file_in_ftp_dir

The download file was not found in the FTP directory.

NotCreatedError

oegqlsa.not_created.download_file

A download file with the provided ID could not be created.

IdAlreadyExistsError

oegqlsa.id_already_exists.scale_price

A scale price with the provided ID already exists.

NotCreatedError

oegqlsa.not_created.scale_price

A scale price with the provided ID could not be created.

NotFoundError

oegqlsa.not_found.product

The product was not found.

adminProductModify

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.is_variant

The product is a variant.

NotFoundError

oegqlsa.not_found.product_image

The product image was not found.

ValidationError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

NotFoundError

oegqlsa.not_found.language

No language was found for the provided locale.

NotUpdatedError

oegqlsa.not_updated.product_language_fields

The language fields of the product with the provided ID could not be updated.

adminProductDelete

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotDeletedError

oegqlsa.not_deleted.product

A product with the provided ID could not be deleted.

adminProductsImport

Every failing entry is returned as an AdminImportError that carries the code and message of the original error plus the inputPosition of the entry. With the default rollback strategy ROLLBACK_WHOLE_IMPORT exactly one AdminImportError is returned; with ROLLBACK_FAILING_PRODUCT one AdminImportError per failing entry is returned.

Error DataType

Code

Message

AdminImportError

oegqlsa.id_already_exists.product

A product with the provided ID already exists.

AdminImportError

oegqlsa.validation.product_id

The product id is invalid.

AdminImportError

oegqlsa.not_found.product_image

The product image was not found.

AdminImportError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

AdminImportError

oegqlsa.product.not_saved

The product could not be saved.

AdminImportError

oegqlsa.not_found.language

No language was found for the provided locale.

AdminImportError

oegqlsa.not_found.product

The product was not found.

AdminImportError

oegqlsa.not_updated.product_language_fields

The language fields of the product with the provided ID could not be updated.

AdminImportError

oegqlsa.id_already_exists.download_file

A download file with the provided ID already exists.

AdminImportError

oegqlsa.not_found.download_file_in_ftp_dir

The download file was not found in the FTP directory.

AdminImportError

oegqlsa.not_created.download_file

A download file with the provided ID could not be created.

AdminImportError

oegqlsa.id_already_exists.scale_price

A scale price with the provided ID already exists.

AdminImportError

oegqlsa.not_created.scale_price

A scale price with the provided ID could not be created.

NotFoundError

oegqlsa.not_found.product

The product was not found.

adminProductsModify

Failing entries are returned as AdminImportError in the same way as for adminProductsImport.

Error DataType

Code

Message

AdminImportError

oegqlsa.not_found.product

The product was not found.

AdminImportError

oegqlsa.product.is_variant

The product is a variant.

AdminImportError

oegqlsa.not_found.product_image

The product image was not found.

AdminImportError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

AdminImportError

oegqlsa.product.not_saved

The product could not be saved.

AdminImportError

oegqlsa.not_found.language

No language was found for the provided locale.

AdminImportError

oegqlsa.not_updated.product_language_fields

The language fields of the product with the provided ID could not be updated.

NotFoundError

oegqlsa.not_found.product

The product was not found.

adminProductAddVariant

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.parent_is_variant

The parent product is a variant.

ValidationError

oegqlsa.validation.product_id

The product id is invalid.

NotFoundError

oegqlsa.not_found.product_image

The product image was not found.

ValidationError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

NotFoundError

oegqlsa.not_found.language

No language was found for the provided locale.

NotUpdatedError

oegqlsa.not_updated.product_language_fields

The language fields of the product with the provided ID could not be updated.

adminVariantModify

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.is_not_variant

The product is not a variant.

NotFoundError

oegqlsa.not_found.product_image

The product image was not found.

ValidationError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

NotFoundError

oegqlsa.not_found.language

No language was found for the provided locale.

NotUpdatedError

oegqlsa.not_updated.product_language_fields

The language fields of the product with the provided ID could not be updated.

adminVariantRemove

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.is_not_variant

The product is not a variant.

NotDeletedError

oegqlsa.not_deleted.product

A product with the provided ID could not be deleted.

adminProductSetIcon

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product_image

The product image was not found.

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductRemoveIcon

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductSetThumbnail

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product_image

The product image was not found.

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductRemoveThumbnail

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductSetPicture

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product_image

The product image was not found.

ValidationError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductRemovePicture

Error DataType

Code

Message

ValidationError

oegqlsa.validation.product_picture_position

The product picture position is invalid.

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductAssignCategory

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.category

The category was not found.

AdminProductCategoryError

oegqlsa.product_category.price_category_not_assignable

A price category cannot be assigned to a product.

AdminProductCategoryError

oegqlsa.product_category.already_assigned

The category is already assigned to the product.

NotFoundError

oegqlsa.not_found.product

The product was not found.

adminProductUnassignCategory

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.category

The category was not found.

AdminProductCategoryError

oegqlsa.product_category.not_assigned

The category is not assigned to the product.

NotFoundError

oegqlsa.not_found.product

The product was not found.

adminProductAddAttribute

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.attribute

The attribute was not found.

AdminProductAttributeError

oegqlsa.product_attribute.already_has_attribute

The product already has this attribute assigned.

adminProductRemoveAttribute

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.attribute

The attribute was not found.

AdminProductAttributeError

oegqlsa.product_attribute.does_not_have_attribute

The product does not have this attribute assigned.

adminProductModifyAttribute

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.attribute

The attribute was not found.

AdminProductAttributeError

oegqlsa.product_attribute.does_not_have_attribute

The product does not have this attribute assigned.

adminProductAssignManufacturer

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.manufacturer

The manufacturer was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductUnassignManufacturer

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductError

oegqlsa.product.not_saved

The product could not be saved.

adminProductAssignToSubshop

This operation is only available in the Enterprise Edition.

Error DataType

Code

Message

ValidationError

oegqlsa.validation.shop_is_not_subshop

The shop is not a subshop of the current shop.

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.shop

The shop was not found.

AdminProductShopError

oegqlsa.product_shop.already_assigned_to_subshop

The product is already assigned to the subshop.

adminProductUnassignFromSubshop

This operation is only available in the Enterprise Edition.

Error DataType

Code

Message

ValidationError

oegqlsa.validation.shop_is_not_subshop

The shop is not a subshop of the current shop.

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.shop

The shop was not found.

AdminProductShopError

oegqlsa.product_shop.not_assigned_to_subshop

The product is not assigned to the subshop.

adminProductAssignSelectionList

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.selection_list

The selection list was not found.

AdminProductSelectionListError

oegqlsa.product_selection_list.already_assigned

The selection list is already assigned to the product.

AdminProductSelectionListError

oegqlsa.product_selection_list.assignment_failed

The selection list could not be assigned to the product.

adminProductUnassignSelectionList

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.selection_list

The selection list was not found.

AdminProductSelectionListError

oegqlsa.product_selection_list.not_assigned

The selection list is not assigned to the product.

adminProductModifyMetaData

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

NotFoundError

oegqlsa.not_found.category

The category was not found.

adminProductModifySeoUrl

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.product

The product was not found.

AdminProductSeoError

oegqlsa.seo.main_url_not_editable

The main SEO URL cannot be edited when the product has category, vendor or manufacturer assignments.

AdminProductSeoError

oegqlsa.seo.missing_related_object_id

A related object id is required for this SEO type.

AdminProductSeoError

oegqlsa.seo.related_object_not_assigned

The related object is not assigned to the product.

NotFoundError

oegqlsa.not_found.category

The category was not found.

adminAttribute

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.attribute

The attribute was not found.

adminAttributes

This operation returns no error DataTypes.

adminAttributeCreate

Error DataType

Code

Message

IdAlreadyExistsError

oegqlsa.id_already_exists.attribute

An attribute with the provided ID already exists.

NotCreatedError

oegqlsa.not_created.attribute

An attribute with the provided ID could not be created.

NotFoundError

oegqlsa.not_found.attribute

The attribute was not found.

adminAttributeModify

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.attribute

The attribute was not found.

NotUpdatedError

oegqlsa.not_updated.attribute

An attribute with the provided ID could not be updated.

adminAttributeDelete

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.attribute

The attribute was not found.

NotDeletedError

oegqlsa.not_deleted.attribute

An attribute with the provided ID could not be deleted.

adminDownloadFileCreate

Error DataType

Code

Message

IdAlreadyExistsError

oegqlsa.id_already_exists.download_file

A download file with the provided ID already exists.

NotFoundError

oegqlsa.not_found.download_file_in_ftp_dir

The download file was not found in the FTP directory.

NotCreatedError

oegqlsa.not_created.download_file

A download file with the provided ID could not be created.

NotFoundError

oegqlsa.not_found.download_file

The download file was not found.

adminDownloadFileModify

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.download_file

The download file was not found.

NotFoundError

oegqlsa.not_found.download_file_in_ftp_dir

The download file was not found in the FTP directory.

NotUpdatedError

oegqlsa.not_updated.download_file

A download file with the provided ID could not be updated.

adminDownloadFileDelete

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.download_file

The download file was not found.

AdminDownloadFileError

oegqlsa.download_file.has_valid_downloads

You cannot delete this file, as long as it has valid downloads.

adminScalePriceCreate

Error DataType

Code

Message

IdAlreadyExistsError

oegqlsa.id_already_exists.scale_price

A scale price with the provided ID already exists.

NotCreatedError

oegqlsa.not_created.scale_price

A scale price with the provided ID could not be created.

NotFoundError

oegqlsa.not_found.scale_price

The scale price was not found.

adminScalePriceModify

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.scale_price

The scale price was not found.

NotUpdatedError

oegqlsa.not_updated.scale_price

A scale price with the provided ID could not be updated.

adminScalePriceDelete

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.scale_price

The scale price was not found.

adminState

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.state

The state was not found.

adminStateCreate

Error DataType

Code

Message

ValidationError

oegqlsa.validation.state_id

The state id is invalid.

ValidationError

oegqlsa.validation.state_iso_alpha_2

The state ISO alpha-2 code is invalid.

NotFoundError

oegqlsa.not_found.country

The country was not found.

IdAlreadyExistsError

oegqlsa.id_already_exists.state

A state with the provided ID already exists.

NotCreatedError

oegqlsa.not_created.state

A state with the provided ID could not be created.

NotFoundError

oegqlsa.not_found.state

The state was not found.

adminStateModify

Error DataType

Code

Message

ValidationError

oegqlsa.validation.state_iso_alpha_2

The state ISO alpha-2 code is invalid.

NotFoundError

oegqlsa.not_found.country

The country was not found.

NotFoundError

oegqlsa.not_found.state

The state was not found.

NotUpdatedError

oegqlsa.not_updated.state

A state with the provided ID could not be updated.

adminStateDelete

Error DataType

Code

Message

NotFoundError

oegqlsa.not_found.state

The state was not found.

NotDeletedError

oegqlsa.not_deleted.state

A state with the provided ID could not be deleted.